/**
* Script Class, putting the frameset together.
+ * @deprecated since TYPO3 v9.4, will be removed in TYPO3 v10.0. All logic is moved into LoginController.
*/
class LoginFramesetController
{
*/
public function __construct()
{
+ trigger_error(__CLASS__ . ' will be removed in TYPO3 v10.0. Request "index.php?loginRefresh=1" directly to work without the frameset.', E_USER_DEPRECATED);
$GLOBALS['SOBE'] = $this;
}
$this->createFrameset();
return new HtmlResponse($this->content);
}
+
/**
* Main function.
* Creates the header code and the frameset for the two frames.
- *
- * @deprecated since v9, will be removed in v10
*/
public function main()
{
- trigger_error('Method main() will be replaced by protected method createFrameset() in v10. Do not call from other extension', E_USER_DEPRECATED);
$this->createFrameset();
}
/**
+++ /dev/null
-.. include:: ../../Includes.txt
-
-=================================================================================
-Deprecation: #84368 - Protected methods and properties in LoginFramesetController
-=================================================================================
-
-See :issue:`84368`
-
-Description
-===========
-
-This file is about third party usage (consumer that call the class as well as
-signals or hooks depending on it) of :php:`TYPO3\CMS\Backend\Controller\LoginFramesetController`.
-
-All methods not used as entry points by :php:`TYPO3\CMS\Backend\Http\RouteDispatcher` will be
-removed or set to protected in v10 and throw deprecation warnings if used from a third party:
-
-* [not scanned] :php:`main()`
-
-
-Impact
-======
-
-Calling above method on an instance of :php:`LoginFramesetController` will throw a deprecation warning in v9 and a PHP fatal in v10.
-
-
-Affected Installations
-======================
-
-The extension scanner will find all usages, but may also find some false positives. In general all extensions
-that set properties or call methods except :php:`mainAction()` are affected.
-
-
-Migration
-=========
-
-In general, extensions should not instantiate and re-use controllers of the core. Existing
-usages should be rewritten to be free of calls like these.
-
-
-.. index:: Backend, PHP-API, PartiallyScanned
--- /dev/null
+.. include:: ../../Includes.txt
+
+=============================================
+Deprecation: #85707 - LoginFramesetController
+=============================================
+
+See :issue:`85707`
+
+Description
+===========
+
+The class :php:`TYPO3\CMS\Backend\Controller\LoginFramesetController` builds a simple HTML frameset
+and has been replaced by using the full logic within :php:`LoginController` or a request to
+`index.php?loginRefresh=1` directly.
+
+
+Impact
+======
+
+Instantiating the LoginFramesetController class will trigger a deprecation message.
+
+
+Affected Installations
+======================
+
+TYPO3 installations with custom logic using the rare functionality of LoginFramesetController.
+
+
+Migration
+=========
+
+Reference `index.php?loginRefresh=1` in the callers code directly, or re-implement the frameset if
+necessary.
+
+.. index:: Backend, FullyScanned, ext:backend
\ No newline at end of file
'Deprecation-85687-DeprecateRuntimeCacheWriter.rst',
],
],
+ 'TYPO3\CMS\Backend\Controller\LoginFramesetController' => [
+ 'restFiles' => [
+ 'Deprecation-85707-LoginFramesetController.rst',
+ ],
+ ],
];