function update_status_get_project in Update Status 5.2
Given a $module object (as returned by system_get_files_database()), figure out what project that module belongs to.
See also
1 call to update_status_get_project()
File
- ./
update_status.module, line 820
Code
function update_status_get_project($module) {
$project = '';
if (isset($module->info['project'])) {
$project = $module->info['project'];
}
elseif (isset($module->info['package']) && strpos($module->info['package'], 'Core -') !== FALSE) {
$project = 'drupal';
}
return $project;
}