diff options
Diffstat (limited to 'modules/update')
-rw-r--r-- | modules/update/update.compare.inc | 2 | ||||
-rw-r--r-- | modules/update/update.module | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/update/update.compare.inc b/modules/update/update.compare.inc index e7e7b8862..65e5822cc 100644 --- a/modules/update/update.compare.inc +++ b/modules/update/update.compare.inc @@ -616,7 +616,7 @@ function update_project_cache($cid) { // On certain paths, we should clear the cache and recompute the projects or // update status of the site to avoid presenting stale information. $q = $_GET['q']; - $paths = array('admin/build/modules', 'admin/build/themes', 'admin/reports', 'admin/reports/updates', 'admin/reports/status', 'admin/reports/updates/check'); + $paths = array('admin/structure/modules', 'admin/structure/themes', 'admin/reports', 'admin/reports/updates', 'admin/reports/status', 'admin/reports/updates/check'); if (in_array($q, $paths)) { _update_cache_clear($cid); } diff --git a/modules/update/update.module b/modules/update/update.module index 66c716efc..ca6cab3a5 100644 --- a/modules/update/update.module +++ b/modules/update/update.module @@ -72,8 +72,8 @@ function update_help($path, $arg) { $output .= '<p>' . t('To extend the functionality or to change the look of your site, a number of contributed <a href="@modules">modules</a> and <a href="@themes">themes</a> are available.', array('@modules' => 'http://drupal.org/project/modules', '@themes' => 'http://drupal.org/project/themes')) . '</p>'; $output .= '<p>' . t('Each time Drupal core or a contributed module or theme is updated, it is important that <a href="@update-php">update.php</a> is run.', array('@update-php' => url($base_url . '/update.php', array('external' => TRUE)))) . '</p>'; return $output; - case 'admin/build/themes': - case 'admin/build/modules': + case 'admin/structure/themes': + case 'admin/structure/modules': include_once DRUPAL_ROOT . '/includes/install.inc'; $status = update_requirements('runtime'); foreach (array('core', 'contrib') as $report_type) { @@ -96,7 +96,7 @@ function update_help($path, $arg) { case 'admin/help#update': $output = '<p>' . t("The Update status module periodically checks for new versions of your site's software (including contributed modules and themes), and alerts you to available updates.") . '</p>'; $output .= '<p>' . t('The <a href="@update-report">report of available updates</a> will alert you when new releases are available for download. You may configure options for update checking frequency and notifications at the <a href="@update-settings">Update status module settings page</a>.', array('@update-report' => url('admin/reports/updates'), '@update-settings' => url('admin/settings/updates'))) . '</p>'; - $output .= '<p>' . t('Please note that in order to provide this information, anonymous usage statistics are sent to drupal.org. If desired, you may disable the Update status module from the <a href="@modules">module administration page</a>.', array('@modules' => url('admin/build/modules'))) . '</p>'; + $output .= '<p>' . t('Please note that in order to provide this information, anonymous usage statistics are sent to drupal.org. If desired, you may disable the Update status module from the <a href="@modules">module administration page</a>.', array('@modules' => url('admin/structure/modules'))) . '</p>'; $output .= '<p>' . t('For more information, see the online handbook entry for <a href="@update">Update status module</a>.', array('@update' => 'http://drupal.org/handbook/modules/update')) . '</p>'; return $output; |