summaryrefslogtreecommitdiff
path: root/modules/trigger/trigger.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/trigger/trigger.module')
-rw-r--r--modules/trigger/trigger.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/trigger/trigger.module b/modules/trigger/trigger.module
index f7c931ca3..9cf0a4f84 100644
--- a/modules/trigger/trigger.module
+++ b/modules/trigger/trigger.module
@@ -371,10 +371,10 @@ function _trigger_comment($a1, $op) {
* Implementation of hook_cron().
*/
function trigger_cron() {
- $aids = _trigger_get_hook_aids('cron');
+ $aids = _trigger_get_hook_aids('cron', 'run');
$context = array(
'hook' => 'cron',
- 'op' => '',
+ 'op' => 'run',
);
// Cron does not act on any specific object.
$object = NULL;