function drush_hacked_pre_pm_updatecode in Hacked! 6.2
Same name and namespace in other branches
- 8.2 hacked.drush.inc \drush_hacked_pre_pm_updatecode()
- 7.2 hacked.drush.inc \drush_hacked_pre_pm_updatecode()
Add a --lock-modified flag to pm-updatecode
File
- ./
hacked.drush.inc, line 235 - 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.'));
}
}