You are here

function drush_hacked_pre_pm_updatecode in Hacked! 8.2

Same name and namespace in other branches
  1. 6.2 hacked.drush.inc \drush_hacked_pre_pm_updatecode()
  2. 7.2 hacked.drush.inc \drush_hacked_pre_pm_updatecode()

Add a --lock-modified flag to pm-updatecode.

File

./hacked.drush.inc, line 241
Hacked drush command.

Code

function drush_hacked_pre_pm_updatecode() {
  if (drush_get_option('lock-modified')) {
    drush_print(dt('Hacked! is checking for modified projects...'));
    drush_hacked_lock_modified();
    drush_print(dt('Hacked! modification check complete.'));
  }
}