mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 14:48:41 +00:00
fix: UOJProblemDataSynchronizer::_updateProblemConf()
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a9e80e7c3b
commit
180484383b
@ -215,8 +215,7 @@ class UOJProblemDataSynchronizer {
|
|||||||
try {
|
try {
|
||||||
putUOJConf("{$this->upload_dir}/problem.conf", $new_problem_conf);
|
putUOJConf("{$this->upload_dir}/problem.conf", $new_problem_conf);
|
||||||
|
|
||||||
$this->_sync();
|
return $this->_sync();
|
||||||
return '';
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
return $e->getMessage();
|
return $e->getMessage();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user