]> iEval git - gruntmaster-page.git/commitdiff
Remove purges as they are handled in gruntmaster-data
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 24 Feb 2015 18:28:11 +0000 (20:28 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 24 Feb 2015 18:28:11 +0000 (20:28 +0200)
lib/Plack/App/Gruntmaster.pm

index 3ec528429124eb4e1c0b85bd1174b29252c91554..40879a98e9ac87f26d381063bb64fddd059159c7 100644 (file)
@@ -226,7 +226,6 @@ sub dispatch_request{
                        db->users->create({id => $_{username}, name => $_{name}, email => $_{email}, phone => $_{phone}, town => $_{town}, university => $_{university}, country => $_{country}, level => $_{level}});
                        db->user($_{username})->set_passphrase($_{password});
 
-                       purge '/us/';
                        reply 'Registered successfully';
                },
 
@@ -263,7 +262,6 @@ sub dispatch_request{
                                owner => remote_user->id,
                        });
 
-                       purge '/log/';
                        [303, [Location => '/log/' . $newjob->id], []]
                },
 
This page took 0.021703 seconds and 4 git commands to generate.