diff options
Diffstat (limited to 'httemplate/search/sql.html')
-rw-r--r-- | httemplate/search/sql.html | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/httemplate/search/sql.html b/httemplate/search/sql.html deleted file mode 100644 index bf5446975..000000000 --- a/httemplate/search/sql.html +++ /dev/null @@ -1,15 +0,0 @@ -<% include( 'elements/search.html', - 'title' => 'Query Results', - 'name' => 'rows', - 'query' => "SELECT $sql", - ) -%> -<%init> - -die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Raw SQL'); - -my $sql = $cgi->param('sql') or errorpage('Empty query'); -$sql =~ s/;+\s*$//; #remove trailing ; - -</%init> |