mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 12:18:42 +00:00
feat(problem/remote): rejudge
This commit is contained in:
parent
195f21fab6
commit
dc32574585
@ -407,6 +407,10 @@ class UOJSubmission {
|
||||
}
|
||||
|
||||
public function userCanSeeMinorVersions(array $user = null) {
|
||||
if ($this->problem->info['type'] == 'remote') {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isSuperUser($user)) {
|
||||
return true;
|
||||
}
|
||||
@ -414,10 +418,6 @@ class UOJSubmission {
|
||||
}
|
||||
|
||||
public function userCanRejudge(array $user = null) {
|
||||
if ($this->problem->info['type'] == 'remote') {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isSuperUser($user)) {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user