Revert "[TASK] Declare getThisScript() in ElementBrowser as public" 78/28478/3
authorMarkus Klein <klein.t3@mfc-linz.at>
Mon, 17 Mar 2014 19:44:45 +0000 (20:44 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Mon, 17 Mar 2014 19:46:50 +0000 (20:46 +0100)
This reverts commit b2756fe7826d62fdc8442c887010890c268eabd8

A comment of Helmut Hummel was suggested, which was still missing.
This change will be repushed.

Releases: 6.2
Change-Id: I518af35f562350f9dde39678de52f69d58344677
Reviewed-on: https://review.typo3.org/28478
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php

index 893127b..3e29b4e 100644 (file)
@@ -262,15 +262,9 @@ class ElementBrowser {
        }
 
        /**
-        * Calculate path to this script.
-        *
-        * Warning: This method is public, but it MUST only be used in hooks if
-        * needed, not from other outside code.
-        *
         * @return string
-        * @internal
         */
-       public function getThisScript() {
+       protected function getThisScript() {
                return strpos($this->thisScript, '?') === FALSE ? $this->thisScript . '?' : $this->thisScript . '&';
        }