[!!!][TASK] Remove magic setter for $fromTC
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Database / RelationHandler.php
index 5aa9603..f4d6ed6 100644 (file)
@@ -357,23 +357,6 @@ class RelationHandler {
                }
        }
 
-       /**
-        * Magic setter method.
-        * Used for compatibility with changed attribute visibility
-        *
-        * @param string $name name of the attribute
-        * @param mixed $value value to set the attribute to
-        * @deprecated since 6.1, only required as compatibility layer for renamed attribute $fromTC
-        */
-       public function __set($name, $value) {
-               if($name === 'fromTC') {
-                       GeneralUtility::deprecationLog(
-                               '$fromTC is protected since TYPO3 6.1. Use setFetchAllFields() instead!'
-                       );
-                       $this->setFetchAllFields(!$value);
-               }
-       }
-
        /**
         * Sets $fetchAllFields
         *