editproj.cgi: actually initiate a restart when selected
commita6c4e6c4f3d520d2ce82b094cc18447eb12bc921
authorKyle J. McKay <mackyle@gmail.com>
Thu, 2 Oct 2014 11:48:03 +0000 (2 04:48 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 2 Oct 2014 11:48:03 +0000 (2 04:48 -0700)
treecd98215fb18716adc78a9c4d4b2801623ba87d2e
parent57adc03c810bedd39ed49b545e7d02525045704e
editproj.cgi: actually initiate a restart when selected

Since dcad805d mirrorproj.cgi no longer initiates a clone.
Not only does this avoid duplicate clone requests since regproj.cgi
has been initiating clones since 6a6d238a, but it avoids possible
malicious behavior since mirrorproj.cgi does not require a password.

However, this change leaves mirrors that need to be restarted
unable to be restarted since $proj->clone never gets called.

Add the necessary $proj->clone call to editproj.cgi instead so
that mirrors can actually be restarted.
cgi/editproj.cgi