]> iEval git - gruntmaster-page.git/commitdiff
Change job_owner to job_user as the former does not exist
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 25 Feb 2014 18:59:10 +0000 (20:59 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 25 Feb 2014 18:59:10 +0000 (20:59 +0200)
app.psgi

index f9753856a0ad7d0b60396bbc62b97413638de074..4f4526b594754b201bd01c2ce5616a7dd1417c04 100644 (file)
--- a/app.psgi
+++ b/app.psgi
@@ -31,11 +31,11 @@ sub some_auth_required {
 sub admin_required {
        local $_ = $_[0];
        return problem_owner $1 if m,^/pb/$word, && problem_private $1;
-       return job_owner $1  if m,^/log/(?:job|src)/$word, && job_private $1;
+       return job_user $1  if m,^/log/(?:job|src)/$word, && job_private $1;
        return contest_owner $1 if m,^/ct/$word/(?:pb|log), && time < contest_start $1;
        if (m,^/ct/$word/log/(?:job|src)/$word, && time < contest_end $1){
                local $Gruntmaster::Data::contest = $1;
-               return job_owner $2;
+               return job_user $2;
        }
        0
 }
This page took 0.029002 seconds and 4 git commands to generate.