mirrorproj.cgi: do not clone project again
commitdcad805d5418cc00c9aea7eb28b4a1c16c23c18c
authorKyle J. McKay <mackyle@gmail.com>
Wed, 17 Sep 2014 14:01:19 +0000 (17 07:01 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 17 Sep 2014 14:01:19 +0000 (17 07:01 -0700)
treed6f26cabfda4b8051cef81b886f9232d142b81e6
parent0aca2463252e7ab5f868ecd5c49ced9dadaeeb67
mirrorproj.cgi: do not clone project again

Since 6a6d238a regproj.cgi actually initiates the clone to avoid
having the clone initiation fall through the cracks.

Having mirrorproj.cgi do it again can lead to multiple clone
attempts for the same project.

Also since mirrorproj.cgi does not require a password having
it able to initiate a clone is bad.

So remove the $proj->clone call from mirrorproj.cgi to prevent
double clones and malicious use.
cgi/mirrorproj.cgi