X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Freminder.php;h=a395c4dcaaf3c988080e661648a76284c797034b;hb=c9566e01c2add8f12a858abe0fbb0bc6b8e3c0d4;hp=6829ed4f590ed11510faa491c52cba2d58c63cff;hpb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;p=platal.git diff --git a/modules/reminder.php b/modules/reminder.php index 6829ed4..a395c4d 100644 --- a/modules/reminder.php +++ b/modules/reminder.php @@ -1,6 +1,6 @@ $this->make_hook('reminder', AUTH_COOKIE), + 'ajax/reminder' => $this->make_hook('reminder', AUTH_COOKIE, 'user'), ); } - function handler_reminder(&$page, $reminder_name = null, $action = null) + function handler_reminder($page, $reminder_name = null, $action = null) { require_once 'reminder.inc.php'; $user = S::user();