r3794 isInnoDBSupported(): drop argument, which was never used
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 10 Jun 2010 13:43:16 +0000 (13:43 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 10 Jun 2010 13:43:16 +0000 (13:43 +0000)
inc/dictionary.php

index d71e9c80052872f0a2ac5e2048caaaa9fcbb4545..6854f28c73bf0b2457f0847bd62fee2a0d4a6164 100644 (file)
@@ -21,14 +21,9 @@ function reloadDictionary ($release = NULL)
        return $ret;
 }
 
-function isInnoDBSupported ($dbh = FALSE)
+function isInnoDBSupported ()
 {
        global $dbxlink;
-
-       // sometimes db handle isn't available globally, must be passed
-       if (!$dbxlink)
-               $dbxlink = $dbh;
-
        // create a temp table
        $dbxlink->query("CREATE TABLE `innodb_test` (`id` int) ENGINE=InnoDB");
        $row = $dbxlink->query("SHOW TABLE STATUS LIKE 'innodb_test'")->fetch(PDO::FETCH_ASSOC);