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