Delete orphaned/expired advagg locks from the semaphore database table.

Sujets associés

1 string reference to 'advagg_admin_refresh_locale_files_button'
advagg_admin_operations_form dans ./advagg.admin.inc
Form builder; Do advagg operations.

Fichier

./advagg.admin.inc, line 1835

Code

function advagg_admin_refresh_locale_files_button() {
    module_load_include('inc', 'advagg', 'advagg.cache');
    // Refresh all locale files.
    $locale_files = advagg_refresh_all_locale_files();
    if (empty($locale_files)) {
        drupal_set_message(t('No locale files are being used.'));
    }
    else {
        drupal_set_message(t('The following locale files are being used: <pre>@files</pre>', array(
            '@files' => print_r($locale_files, TRUE),
        )));
    }
}