mirror of https://github.com/BOINC/boinc.git
Fixing missing ending call in function.
This commit is contained in:
parent
c226ee73c2
commit
4785a05784
|
@ -189,8 +189,8 @@ class BoincUser {
|
||||||
static function lookup_prev_email_addr($email_addr) {
|
static function lookup_prev_email_addr($email_addr) {
|
||||||
$db = BoincDb::get();
|
$db = BoincDb::get();
|
||||||
$email_addr = BoincDb::escape_string($email_addr);
|
$email_addr = BoincDb::escape_string($email_addr);
|
||||||
$current_time = time() - 604800;
|
$mytime = time() - 604800;
|
||||||
return self::lookup("previous_email_addr='$email_addr' and email_addr_change_time > $current_time
|
return self::lookup("previous_email_addr='$email_addr' and email_addr_change_time > $mytime");
|
||||||
}
|
}
|
||||||
// name is not necessarily unique
|
// name is not necessarily unique
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue