Removing obsolete references to readme files in source code
This commit is contained in:
parent
3bcd36d5ab
commit
37c335e3cc
31 changed files with 52 additions and 94 deletions
|
@ -216,7 +216,6 @@ function advagg_admin_info_form() {
|
|||
*/
|
||||
function advagg_admin_settings_form() {
|
||||
$form = array();
|
||||
$readme = drupal_get_path('module', 'advagg') . '/README.txt';
|
||||
$bundle_count = db_result(db_query("SELECT COUNT(*) FROM (SELECT bundle_md5 FROM {advagg_bundles} GROUP BY bundle_md5) as temp"));
|
||||
|
||||
$form['advagg_enabled'] = array(
|
||||
|
@ -264,13 +263,13 @@ function advagg_admin_settings_form() {
|
|||
'#type' => 'checkbox',
|
||||
'#title' => t('Gzip CSS/JS files'),
|
||||
'#default_value' => variable_get('advagg_gzip_compression', ADVAGG_GZIP_COMPRESSION),
|
||||
'#description' => t('This might break CSS/JS handling at the Apache level. If it does, use the rules for your webroot level htaccess file before re-enabling. Directions on what to change are located in the <a href="@readme">readme</a> file. In short, be sure to test this out.', array('@readme' => url($readme))),
|
||||
'#description' => t('This might break CSS/JS handling at the Apache level. If it does, use the rules for your webroot level htaccess file before re-enabling. In short, be sure to test this out.'),
|
||||
);
|
||||
$form['advagg_dir_htaccess'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Generate .htaccess files in the advagg_* dirs'),
|
||||
'#default_value' => variable_get('advagg_dir_htaccess', ADVAGG_DIR_HTACCESS),
|
||||
'#description' => t('Disable if your using the rules from the <a href="@readme">readme</a> file in your webroot level htaccess file.', array('@readme' => url($readme))),
|
||||
'#description' => t('Disable if you are using the documented rules in your webroot level htaccess file.'),
|
||||
);
|
||||
$form['advagg_rebuild_on_flush'] = array(
|
||||
'#type' => 'checkbox',
|
||||
|
|
|
@ -415,8 +415,6 @@ function advagg_check_missing_handler() {
|
|||
}
|
||||
}
|
||||
|
||||
$readme = drupal_get_path('module', 'advagg') . '/README.txt';
|
||||
|
||||
if (module_exists('cdn')) {
|
||||
$cdn_extra = $t('(both fieldsets)');
|
||||
}
|
||||
|
@ -545,7 +543,7 @@ function advagg_check_missing_handler() {
|
|||
'title' => $t('Adv CSS/JS Agg - Asynchronous Mode'),
|
||||
'severity' => REQUIREMENT_ERROR,
|
||||
'value' => $t('Set to FALSE.'),
|
||||
'description' => $t('Check to see if you have fast 404s, if so create an exception for this module. The <a href="@readme">readme file</a> explains what needs to be changed. You can try flushing the menu cache as well. ', array('@readme' => url($readme))) . $extra_404,
|
||||
'description' => $t('Check to see if you have fast 404s, if so create an exception for this module. You can try flushing the menu cache as well. ') . $extra_404,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue