summaryrefslogtreecommitdiff
path: root/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/cron.php b/cron.php
index cc6f4bffc..063b1feef 100644
--- a/cron.php
+++ b/cron.php
@@ -13,4 +13,5 @@ if (isset($_GET['cron_key']) && variable_get('cron_key', 'drupal') == $_GET['cro
}
else {
watchdog('cron', 'Cron did not run because an invalid key used.', array(), WATCHDOG_NOTICE);
+ drupal_access_denied();
}