Revert "[BUGFIX] Enable add markers in LoginController signal" 27/24227/2
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 1 Oct 2013 15:42:17 +0000 (17:42 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 1 Oct 2013 15:42:36 +0000 (17:42 +0200)
This reverts commit 5fbbb8b6bf15e0bda3c164330cb3c188a41348f4

If no signal is registered, the original markers are lost. Needs rework.

Change-Id: Ib043b731af526de685c8d06927459ff069be14a9
Reviewed-on: https://review.typo3.org/24227
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/backend/Classes/Controller/LoginController.php

index 46f4a8d..0810c77 100644 (file)
@@ -728,8 +728,7 @@ class LoginController {
         * @return void
         */
        protected function emitRenderLoginFormSignal(array &$markers) {
-               $signalArguments = $this->getSignalSlotDispatcher()->dispatch('TYPO3\\CMS\\Backend\\Controller\\LoginController', self::SIGNAL_RenderLoginForm, array($this, $markers));
-               $markers = $signalArguments[1];
+               $this->getSignalSlotDispatcher()->dispatch('TYPO3\\CMS\\Backend\\Controller\\LoginController', self::SIGNAL_RenderLoginForm, array($this, $markers));
        }
 
        /**