Issue #1339292 by xjm: Fixed hook_requirements() documentation references incorrect path for cron in system.api.php.

merge-requests/26/head
webchick 2011-11-12 15:42:20 -08:00
parent 2df4ce2632
commit b26aa370c9
1 changed files with 2 additions and 2 deletions

View File

@ -2881,7 +2881,7 @@ function hook_requirements($phase) {
// Test PHP version
$requirements['php'] = array(
'title' => $t('PHP'),
'value' => ($phase == 'runtime') ? l(phpversion(), 'admin/logs/status/php') : phpversion(),
'value' => ($phase == 'runtime') ? l(phpversion(), 'admin/reports/status/php') : phpversion(),
);
if (version_compare(phpversion(), DRUPAL_MINIMUM_PHP) < 0) {
$requirements['php']['description'] = $t('Your PHP installation is too old. Drupal requires at least PHP %version.', array('%version' => DRUPAL_MINIMUM_PHP));
@ -2903,7 +2903,7 @@ function hook_requirements($phase) {
);
}
$requirements['cron']['description'] .= ' ' . $t('You can <a href="@cron">run cron manually</a>.', array('@cron' => url('admin/logs/status/run-cron')));
$requirements['cron']['description'] .= ' ' . $t('You can <a href="@cron">run cron manually</a>.', array('@cron' => url('admin/reports/status/run-cron')));
$requirements['cron']['title'] = $t('Cron maintenance tasks');
}