mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-22 02:47:27 +08:00
fix cleanup + attendance bonus
This commit is contained in:
@@ -1902,7 +1902,7 @@ function userlogin() {
|
||||
return $loginResult = true;
|
||||
}
|
||||
|
||||
function autoclean() {
|
||||
function autoclean($printProgress = false) {
|
||||
global $autoclean_interval_one, $rootpath;
|
||||
$now = TIMENOW;
|
||||
$res = sql_query("SELECT value_u FROM avps WHERE arg = 'lastcleantime'");
|
||||
@@ -1923,7 +1923,7 @@ function autoclean() {
|
||||
return false;
|
||||
}
|
||||
require_once($rootpath . 'include/cleanup.php');
|
||||
return docleanup();
|
||||
return docleanup(0, $printProgress);
|
||||
}
|
||||
|
||||
function unesc($x) {
|
||||
|
||||
Reference in New Issue
Block a user