X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Freminder.inc.php;h=715d2d541747d72533d5604f4c35ddac051cfd09;hb=c4b6b1f4989e57e80aa721028d8255a3800442f9;hp=a2fedc237ab9bf9e5ab8006d642c840b1ae68edb;hpb=ee71865181e96e7b0754ef9e7da4b3cb26f4c1d7;p=platal.git diff --git a/include/reminder.inc.php b/include/reminder.inc.php index a2fedc2..715d2d5 100644 --- a/include/reminder.inc.php +++ b/include/reminder.inc.php @@ -1,6 +1,6 @@ 0 ? time() + $next_ask * 24 * 60 * 60 : null)); } @@ -153,12 +153,12 @@ abstract class Reminder // Static status update methods ------------------------------------------- - // Marks the candidate reminder as having been accepted for user |user_id|. + // Marks the candidate reminder as having been accepted for user |uid|. // It is intended to be used when a reminder box has been bypassed, and when // it should behave as if the user had clicked on 'yes'. - protected static function MarkCandidateAsAccepted($user_id, $candidate) + protected static function MarkCandidateAsAccepted($uid, $candidate) { - Reminder::UpdateStatus($user_id, $candidate['type_id'], + Reminder::UpdateStatus($uid, $candidate['type_id'], 'yes', $candidate['remind_delay_yes']); }