function drush_pm_post_pm_update

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

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


commands/pm/, line 1355
The drush Project Manager


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');