updated context, metatag, imagestyleflush, browscap

This commit is contained in:
Bachir Soussi Chiadmi
2016-11-05 16:43:45 +01:00
parent 7aeabebddf
commit 3413d81bb8
187 changed files with 14704 additions and 1871 deletions

View File

@@ -22,8 +22,8 @@ function browscap_settings_form($form, &$form_state) {
$form['browscap_enable_automatic_updates'] = array(
'#type' => 'checkbox',
'#title' => t('Enable automatic updates'),
'#default_value' => variable_get('browscap_enable_automatic_updates', TRUE),
'#description' => t('Automatically update the user agent detection information.'),
'#default_value' => variable_get('browscap_enable_automatic_updates', FALSE),
'#description' => t('Automatically update the user agent detection information. <em>Warning: This may require several seconds and possibly up to a minute or more during cron.</em>'),
);
$form['browscap_automatic_updates_timer'] = array(
'#type' => 'select',
@@ -54,9 +54,5 @@ function browscap_settings_form($form, &$form_state) {
* Submit handler for the refresh browscap button.
*/
function browscap_refresh_submit($form, &$form_state) {
// Update the browscap information.
_browscap_import(FALSE);
// Record when the browscap information was updated.
variable_set('browscap_imported', REQUEST_TIME);
}