Skip to content

Commit

Permalink
Issue #1339292 by xjm: Fixed hook_requirements() documentation refere…
Browse files Browse the repository at this point in the history
…nces incorrect path for cron in system.api.php.
  • Loading branch information
webchick committed Nov 12, 2011
1 parent 2df4ce2 commit b26aa37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/system/system.api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -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');
}
Expand Down

0 comments on commit b26aa37

Please sign in to comment.