Merge branch 'xorg/maint' into xorg/master
[platal.git] / modules / reminder.php
index d1e6fd4..dc11be8 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2011 Polytechnique.org                              *
+ *  Copyright (C) 2003-2013 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -24,7 +24,7 @@ class ReminderModule extends PLModule
     function handlers()
     {
         return array(
-            'ajax/reminder' => $this->make_hook('reminder', AUTH_COOKIE),
+            'ajax/reminder' => $this->make_hook('reminder', AUTH_COOKIE, 'user'),
         );
     }