diff --git a/setup.php b/setup.php index 11112d2..4c400e2 100755 --- a/setup.php +++ b/setup.php @@ -59,7 +59,7 @@ function plugin_init_example() { // Display on central page $PLUGIN_HOOKS['central_action']['example'] = 'plugin_central_action_example'; // Cron action - $plugin_hooks['cron']['example'] = DAY_TIMESTAMP; + $PLUGIN_HOOKS['cron']['example'] = DAY_TIMESTAMP; }