[!!!][TASK] Remove deprecated isLocalconfWritable function 27/32927/4
authorWouter Wolters <typo3@wouterwolters.nl>
Mon, 22 Sep 2014 20:11:57 +0000 (22:11 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 23 Sep 2014 15:22:20 +0000 (17:22 +0200)
Resolves: #61802
Releases: master
Change-Id: Iaa0b8a546b33b2c919987e12f684c356a9dfdf67
Reviewed-on: http://review.typo3.org/32927
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/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-61802-IsLocalconfWritableFunctionRemoved.rst [new file with mode: 0644]

index 66792eb..4a83649 100644 (file)
@@ -1854,19 +1854,6 @@ tt_content.' . $key . $prefix . ' {
        }
 
        /**
-        * Returns TRUE if configuration files in typo3conf/ are writable
-        *
-        * @return boolean TRUE if at least one configuration file in typo3conf/ is writable
-        * @internal
-        * @deprecated since 6.1, will be removed in two versions
-        */
-       static public function isLocalconfWritable() {
-               GeneralUtility::logDeprecatedFunction();
-               return GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Configuration\\ConfigurationManager')
-                       ->canWriteConfiguration();
-       }
-
-       /**
         * Remove cache files from php code cache, grouped by 'system'
         *
         * This removes the following cache entries:
diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-61802-IsLocalconfWritableFunctionRemoved.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-61802-IsLocalconfWritableFunctionRemoved.rst
new file mode 100644 (file)
index 0000000..526c888
--- /dev/null
@@ -0,0 +1,26 @@
+==================================================================
+Breaking: #61802 - deprecated isLocalconfWritable function removed
+==================================================================
+
+Description
+===========
+
+The isLocalconfWritable function from \TYPO3\CMS\Core\Utility\ExtensionManagementUtility is removed.
+The boostrap now just checks for the existence of the file and redirects to the install tool if it doesn't exist.
+
+Impact
+======
+
+Extensions that still use the function isLocalconfWritable won't work.
+
+
+Affected installations
+======================
+
+A TYPO3 instance is affected if a 3rd party extension uses the removed function.
+
+
+Migration
+=========
+
+Remove the call to this function. The bootstrap takes care to check the existence of the file.
\ No newline at end of file