function enterprise_base_update_projects_alter in Enterprise Base 7.3
Implements hook_update_projects_alter().
File
- ./
enterprise_base.module, line 28
Code
function enterprise_base_update_projects_alter(&$projects) {
// We wish to remove our custom modules from any drupal.org updates.
// $client = variable_get('enterprise_client', FALSE);
// foreach($projects as $key => $project) {
// // Remove all enterprise projects
// if (preg_match('/^enterprise_.*$/', $key)) {
// unset($projects[$key]);
// }
// // Remove client specific projects
// elseif ($client && preg_match('/^' . $client . '_.*$/', $key)) {
// unset($projects[$key]);
// }
// // Remove any specified projects as well.
// elseif (in_array($key, variable_get('enterprise_projects_exclude', array()))) {
// unset($projects[$key]);
// }
// }
}