Commit 1e7d23a4 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#193366 follow up (rollback) by Anthony Hersey, Senpai, moshe weitzman: remove...

#193366 follow up (rollback) by Anthony Hersey, Senpai, moshe weitzman: remove all cache clearing feature of the system module listing page; instead point to the performance page where we have a dedicated button for this; the trick caused lots of issues with speed
parent c07c6613
......@@ -625,10 +625,6 @@ function _system_is_incompatible(&$incompatible, $files, $file) {
* The form array.
function system_modules($form_state = array()) {
cache_clear_all('schema', 'cache');
// Get current list of modules.
$files = module_rebuild_cache();
......@@ -940,6 +936,10 @@ function system_modules_submit($form, &$form_state) {
drupal_set_message(t('The configuration options have been saved.'));
cache_clear_all('schema', 'cache');
......@@ -81,6 +81,7 @@ function system_help($path, $arg) {
$output .= '<p>'. t('It is important that <a href="@update-php">update.php</a> is run every time a module is updated to a newer version.', array('@update-php' => $base_url .'/update.php')) .'</p>';
$output .= '<p>'. t('You can find all administration tasks belonging to a particular module on the <a href="@by-module">administration by module page</a>.', array('@by-module' => url('admin/by-module'))) .'</p>';
$output .= '<p>'. t('To extend the functionality of your site, a number of <a href="@modules">contributed modules</a> are available.', array('@modules' => '')) .'</p>';
$output .= '<p>'. t('To clear all caches, click the button on the <a href="@performance">Performance page</a>.', array('@performance' => url('admin/settings/performance', array('fragment' => 'edit-clear')))) .'</p>';
return $output;
case 'admin/build/modules/uninstall':
return '<p>'. t('The uninstall process removes all data related to a module. To uninstall a module, you must first disable it. Not all modules support this feature.') .'</p>';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment