[+BUGFIX] Replaced deprecated mysql_list_tables().
authorjocrau <jocrau@735d13b6-9817-0410-8766-e36946ffe9aa>
Tue, 12 Jan 2010 10:53:52 +0000 (10:53 +0000)
committerBastian Bringenberg <spam@bastian-bringenberg.de>
Thu, 4 Dec 2014 23:56:07 +0000 (00:56 +0100)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/contagged/trunk@28744 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
model/class.tx_contagged_model_terms.php

index bad39dd..dae2d9d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+v1.4.3 2010-01-08 Jochen Rau <jochen.rau@typoplanet.de>
+
+       [+BUGFIX] Replaced deprecated mysql_list_tables().
+
 v1.4.2 2009-12-08 Jochen Rau <jochen.rau@typoplanet.de>
 
        [~CONFIGURATION] You do not have to specify the root template page id in the extension configuration anymore.
index a730a4f..7f41bcc 100644 (file)
@@ -48,7 +48,7 @@ class tx_contagged_model_terms {
                $this->mapper = new $mapperClassName($this->controller);
 
                // build an array of tables in the database
-               $tablesResult = mysql_list_tables(TYPO3_db);
+               $tablesResult = $GLOBALS['TYPO3_DB']->admin_get_tables(TYPO3_db);
                if (!mysql_error()) {
                        while($table = mysql_fetch_assoc($tablesResult)) {
                                $this->tablesArray[] = current($table);