1 <?php # vim:ts=2:sw=2:et:
2 /* For licensing and copyright terms, see the file named LICENSE */
3 include '../../inc/common.php';
5 if ($_SERVER['REQUEST_METHOD'] == 'POST') {
6 $rid = $_POST['repoid'];
8 MTrackACL::requireAllRights("repo:$rid", 'delete');
10 $S = MTrackRepo::loadById($rid);
11 $CS = MTrackChangeset::begin("repo:$rid", "Delete repo $S->shortname");
16 header("Location: ${ABSWEB}browse.php");