mirror of https://github.com/BOINC/boinc.git
Fix PHP 8.1 errors in a couple of PHP scripts in /ops
This commit is contained in:
parent
0053e0e9de
commit
5fae50505a
|
@ -17,7 +17,7 @@ if (!isset($FILE_LIST)) {
|
|||
exit;
|
||||
}
|
||||
|
||||
$date = strftime('%Y-%m-%d %H:%M %Z');
|
||||
$date = date(DATE_RFC2822);
|
||||
$header = <<<HDR
|
||||
# PROJECT translation
|
||||
# Copyright (C) PROJECT
|
||||
|
|
|
@ -398,7 +398,7 @@ function delete_team_id_range($id1, $id2) {
|
|||
}
|
||||
}
|
||||
|
||||
echo "Starting: ".strftime('%Y-%m-%d %H:%M %Z')."\n";
|
||||
echo "Starting: ".date(DATE_RFC2822)."\n";
|
||||
|
||||
// get settings first
|
||||
//
|
||||
|
@ -461,6 +461,6 @@ for ($i=1; $i<$argc; $i++) {
|
|||
delete_users(true, true, true, false);
|
||||
}
|
||||
}
|
||||
echo "Finished: ".strftime('%Y-%m-%d %H:%M %Z')."\n";
|
||||
echo "Finished: ".date(DATE_RFC2822)."\n";
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue