From c2a833cf1e2af5fb9ade1dfc2e49d2e5150c03f4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 12 Aug 2009 11:33:44 +0000 Subject: =?UTF-8?q?-=20Patch=20#546878=20by=20G=C3=A1bor=20Hojtsy,=20yoroy?= =?UTF-8?q?:=20move=20performance=20settings.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/common.inc | 4 ++-- modules/system/system.module | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/includes/common.inc b/includes/common.inc index 4e4a0e356..bd41d283c 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -2871,8 +2871,8 @@ function drupal_clear_css_cache() { * a JavaScript file. Defaults to TRUE. * - preprocess * Aggregate the JavaScript if the JavaScript optimization setting has - * been toggled in admin/settings/performance. Note that JavaScript of - * type 'external' is not aggregated. Defaults to TRUE. + * been toggled in admin/config/development/performance. Note that + * JavaScript of type 'external' is not aggregated. Defaults to TRUE. * @return * The contructed array of JavaScript files. * @see drupal_get_js() diff --git a/modules/system/system.module b/modules/system/system.module index a4bea6a56..4834adee7 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -94,7 +94,7 @@ function system_help($path, $arg) { $output .= '

' . t('The system module provides:') . '

'; $output .= ''; $output .= '

' . t('For more information, see the online handbook entry for System module.', array('@system' => 'http://drupal.org/handbook/modules/system/')) . '

'; @@ -693,6 +693,13 @@ function system_menu() { 'page arguments' => array('system_site_maintenance_mode'), 'access arguments' => array('administer site configuration'), ); + $items['admin/config/development/performance'] = array( + 'title' => 'Performance', + 'description' => 'Enable or disable page caching for anonymous users and set CSS and JS bandwidth optimization options.', + 'page callback' => 'drupal_get_form', + 'page arguments' => array('system_performance_settings'), + 'access arguments' => array('administer site configuration'), + ); // Settings. $items['admin/settings/site-information'] = array( @@ -715,13 +722,6 @@ function system_menu() { 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -1, ); - $items['admin/settings/performance'] = array( - 'title' => 'Performance', - 'description' => 'Enable or disable page caching for anonymous users and set CSS and JS bandwidth optimization options.', - 'page callback' => 'drupal_get_form', - 'page arguments' => array('system_performance_settings'), - 'access arguments' => array('administer site configuration'), - ); $items['admin/settings/file-system'] = array( 'title' => 'File system', 'description' => 'Tell Drupal where to store uploaded files and how they are accessed.', -- cgit v1.2.3