function l10n_update_status_delete_projects in Localization update 7.2
Delete project entries from the status cache.
Parameters
array $projects: Project name(s) to be deleted from the cache.
1 call to l10n_update_status_delete_projects()
- l10n_update_system_remove in ./
l10n_update.module - Delete translation history of modules and themes.
File
- ./
l10n_update.module, line 763 - Download translations from remote localization server.
Code
function l10n_update_status_delete_projects(array $projects) {
$status = l10n_update_get_status();
foreach ($status as $project => $languages) {
if (in_array($project, $projects)) {
unset($status[$project]);
}
}
cache_set('l10n_update_status', $status);
}