]> git.joonet.de Git - adminer.git/commitdiff
Hide import in information_schema
authorJakub Vrana <jakub@vrana.cz>
Wed, 29 Aug 2012 17:08:18 +0000 (10:08 -0700)
committerJakub Vrana <jakub@vrana.cz>
Wed, 29 Aug 2012 17:08:18 +0000 (10:08 -0700)
adminer/include/adminer.inc.php

index 263d6c02ef0586ef8a1903001833318888d95065..7a7954573bfb6d88015bda78d4ac89b1301405f7 100644 (file)
@@ -339,7 +339,7 @@ username.form['auth[driver]'].onchange();
        * @return bool whether to print default import
        */
        function selectImportPrint() {
-               return true;
+               return !information_schema(DB);
        }
        
        /** Print extra text in the end of a select form