[FOLLOWUP][TASK] Remove global option BACK_PATH 37/50237/6
authorBenni Mack <benni@typo3.org>
Mon, 17 Oct 2016 05:00:01 +0000 (07:00 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Wed, 19 Oct 2016 10:34:32 +0000 (12:34 +0200)
A missing deprecation log entry was added while removing
BACK_PATH

Relates: #72491
Resolves: #78314
Releases: master
Change-Id: Ie4126a3188ccdcc8f71d18b6788e60a13d01df11
Reviewed-on: https://review.typo3.org/50237
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/backend/Classes/Module/AbstractFunctionModule.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-78314-AbstractFunctionModule-getBackPath.rst [new file with mode: 0644]

index d6b9b7f..1929729 100644 (file)
@@ -292,6 +292,7 @@ abstract class AbstractFunctionModule
      */
     protected function getBackPath()
     {
+        GeneralUtility::logDeprecatedFunction();
         return '';
     }
 
diff --git a/typo3/sysext/core/Documentation/Changelog/master/Deprecation-78314-AbstractFunctionModule-getBackPath.rst b/typo3/sysext/core/Documentation/Changelog/master/Deprecation-78314-AbstractFunctionModule-getBackPath.rst
new file mode 100644 (file)
index 0000000..954aabe
--- /dev/null
@@ -0,0 +1,30 @@
+.. include:: ../../Includes.txt
+
+=========================================================
+Deprecation: #78314 - AbstractFunctionModule->getBackPath
+=========================================================
+
+See :issue:`78314`
+
+Description
+===========
+
+The protected method ``AbstractFunctionModule->getBackPath()`` has been marked as deprecated, as it is not needed anymore.
+
+
+Impact
+======
+
+Calling the PHP method will trigger a deprecation log entry.
+
+
+Affected Installations
+======================
+
+Any TYPO3 extension with a PHP class extending the AbstractFunctionModule and calling the method above.
+
+
+Migration
+=========
+
+As the method always returns an empty string (since the backPath functionality is not needed anymore) the PHP call can be removed.
\ No newline at end of file