function drush_pm_post_pm_update

8.0.x pm.drush.inc drush_pm_post_pm_update()
6.x pm.drush.inc drush_pm_post_pm_update()
7.x pm.drush.inc drush_pm_post_pm_update()
3.x pm.drush.inc drush_pm_post_pm_update()
4.x pm.drush.inc drush_pm_post_pm_update()
5.x pm.drush.inc drush_pm_post_pm_update()
master pm.drush.inc drush_pm_post_pm_update()

Post-command callback. Execute updatedb command after an updatecode - user requested `update`.

File

commands/pm/pm.drush.inc, line 1355
The drush Project Manager

Code

function drush_pm_post_pm_update() {
  // Use drush_invoke_process to start a subprocess. Cleaner that way.
  if (drush_get_context('DRUSH_PM_UPDATED', FALSE) !== FALSE) {
    drush_invoke_process('@self', 'updatedb');
  }
}