修复 cron的bug

This commit is contained in:
Comsenz 2017-07-31 17:03:40 +08:00
parent ea2906abfe
commit bd637baea4
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ class discuz_cron
if(!@include $cronfile) { if(!@include $cronfile) {
return false; return false;
} }
}else{
$data = array('available' => '0');
C::t('common_cron')->update($cron['cronid'], $data);
} }
} }