Révision 503b3f7b
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/l10n_update/l10n_update.install | ||
---|---|---|
181 | 181 |
* Implements hook_requirements(). |
182 | 182 |
*/ |
183 | 183 |
function l10n_update_requirements($phase) { |
184 |
if ($phase == 'runtime') { |
|
184 |
if ($phase == 'runtime' && variable_get('l10n_update_check_frequency', 0)) {
|
|
185 | 185 |
if (l10n_update_get_projects() && l10n_update_language_list()) { |
186 | 186 |
$requirements['l10n_update']['title'] = t('Translation update status'); |
187 | 187 |
if (l10n_update_available_updates()) { |
... | ... | |
282 | 282 |
db_create_table('cache_l10n_update', $schema); |
283 | 283 |
} |
284 | 284 |
} |
285 |
|
|
286 |
/** |
|
287 |
* Rebuild registry for 'translations' stream wrapper. |
|
288 |
*/ |
|
289 |
function l10n_update_update_7005() { |
|
290 |
registry_rebuild(); |
|
291 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules