Fixed bug #15941: Log deprecated functions (and adjust comments)
authorXavier Perseguers <typo3@perseguers.ch>
Sat, 30 Oct 2010 09:28:12 +0000 (09:28 +0000)
committerXavier Perseguers <typo3@perseguers.ch>
Sat, 30 Oct 2010 09:28:12 +0000 (09:28 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/dbal/trunk@39696 735d13b6-9817-0410-8766-e36946ffe9aa

typo3/sysext/dbal/ChangeLog
typo3/sysext/dbal/class.ux_t3lib_db.php

index d2e3dc3..eff4c65 100644 (file)
@@ -1,5 +1,6 @@
 2010-10-30  Xavier Perseguers  <typo3@perseguers.ch>
 
+       * Fixed bug #15941: Log deprecated functions (and adjust comments)
        * Fixed bug #15960: Misleading error message in ux_t3lib_DB->cacheFieldInfo() (thanks to Martin Kuster)
        * Fixed bug #16120: UPDATE queries fails for $GLOBALS['TYPO3_DB']->sql_query (thanks to Alan Oguzhan)
 
index c17540b..e648a34 100644 (file)
@@ -1630,9 +1630,11 @@ class ux_t3lib_DB extends t3lib_DB {
         *
         * @param       string          List of fields to be selected from DB
         * @return      string          Quoted list of fields to be selected from DB
-        * @deprecated since TYPO3 4.0
+        * @deprecated since TYPO3 4.0, will be removed in TYPO3 4.6
         */
        public function quoteSelectFields($select_fields) {
+               t3lib_div::logDeprecatedFunction();
+
                $this->quoteFieldNames($select_fields);
        }
 
@@ -2454,9 +2456,11 @@ class ux_t3lib_DB extends t3lib_DB {
         * @param       string          Database name
         * @param       string          Query to execute
         * @return      pointer         Result pointer
-        * @deprecated since TYPO3 4.1
+        * @deprecated since TYPO3 4.1, will be removed in TYPO3 4.6
         */
        public function sql($db,$query) {
+               t3lib_div::logDeprecatedFunction();
+
                return $this->sql_query($query);
        }