Moved out suprisingly costly get_html_translation_table()\nAdded simple cache for...
[lhc/web/wiklou.git] / includes / SpecialAsksql.php
index a52aa1f..a4ecf02 100644 (file)
@@ -23,7 +23,6 @@ class SqlQueryForm {
                global $wgOut, $wgUser, $wgLang;
                global $wpSqlQuery;
                global $wgLogQueries;
-               $wpSqlQuery = $_REQUEST["wpSqlQuery"];
 
                $wgOut->setPagetitle( wfMsg( "asksql" ) );
                $note = wfMsg( "asksqltext" );
@@ -62,7 +61,6 @@ class SqlQueryForm {
                global $wgOut, $wgUser, $wgServer, $wgScript, $wgArticlePath, $wgLang;
                global $wpSqlQuery;
                global $wgDBsqluser, $wgDBsqlpassword;
-               $wpSqlQuery = $_REQUEST["wpSqlQuery"];
 
                # Use a limit, folks!
                $wpSqlQuery = trim( $wpSqlQuery );