From eb061f5119325e666f0dff40d4089e5c1df58e17 Mon Sep 17 00:00:00 2001 From: cvs2git Date: Sun, 16 Mar 2008 19:58:34 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'TRIXBOX_2_6'. --- httemplate/config/config-delete.cgi | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 httemplate/config/config-delete.cgi (limited to 'httemplate/config/config-delete.cgi') diff --git a/httemplate/config/config-delete.cgi b/httemplate/config/config-delete.cgi deleted file mode 100644 index cdac434fa..000000000 --- a/httemplate/config/config-delete.cgi +++ /dev/null @@ -1,15 +0,0 @@ -<%init> -die "access denied\n" - unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); - -die "No configuration item specified (bad URL)!" unless $cgi->keywords; -my ($query) = $cgi->keywords; -$query =~ /^(\d+)$/; -my $confnum = $1; - -my $conf = qsearchs('conf', {'confnum' => $confnum}); -die "Configuration not found!" unless $conf; -$conf->delete; - - -<% $cgi->redirect(popurl(2) . "browse/agent.cgi") %> -- cgit v1.2.1