[!!!][TASK] Remove deprecated connectDB from EidUtility 60/32960/3
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 24 Sep 2014 21:13:56 +0000 (23:13 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 25 Sep 2014 08:29:04 +0000 (10:29 +0200)
Resolves: #61863
Releases: master
Change-Id: Ie46706b237a350ad36a10550232c3a2b6c09e5e5
Reviewed-on: http://review.typo3.org/32960
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Documentation/Changelog/master/Breaking-61863-ConnectDbFuncitonRemoved.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Utility/EidUtility.php

diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-61863-ConnectDbFuncitonRemoved.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-61863-ConnectDbFuncitonRemoved.rst
new file mode 100644 (file)
index 0000000..dbcf58d
--- /dev/null
@@ -0,0 +1,27 @@
+===============================================================
+Breaking: #61863 - deprecated connectDB from EidUtility removed
+===============================================================
+
+Description
+===========
+
+Method connectDB() from \TYPO3\CMS\Frontend\Utility\EidUtility is removed.
+
+
+Impact
+======
+
+Extensions that still use the function connectDB will trigger a fatal
+PHP error when an eID script is called.
+
+
+Affected installations
+======================
+
+A TYPO3 instance is affected if a 3rd party extension uses the removed function.
+
+
+Migration
+=========
+
+The function can be removed safely. The database will connect itself if needed.
index cdf8f78..6f77c04 100644 (file)
@@ -46,18 +46,6 @@ class EidUtility {
        }
 
        /**
-        * Connecting to database. If the function fails, last error message
-        * can be retrieved using $GLOBALS['TYPO3_DB']->sql_error().
-        *
-        * @return boolean TRUE if connection was successful
-        * @deprecated since 6.1, database will connect itself if needed. Will be removed two versions later
-        */
-       static public function connectDB() {
-               \TYPO3\CMS\Core\Utility\GeneralUtility::logDeprecatedFunction();
-               return TRUE;
-       }
-
-       /**
         * Initializes $GLOBALS['LANG'] for use in eID scripts.
         *
         * @param string $language TYPO3 language code