[BUGFIX] Remove unused argument $entryPointLevel from Bootstrap 11/59211/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 19 Dec 2018 12:26:08 +0000 (13:26 +0100)
committerBenni Mack <benni@typo3.org>
Wed, 19 Dec 2018 12:39:22 +0000 (13:39 +0100)
The argument is optional and can be removed without
further notice.

Resolves: #87212
Related: #87202
Releases: master
Change-Id: I667a091b84986111562a581c0bb22d29f624fd19
Reviewed-on: https://review.typo3.org/59211
Reviewed-by: Benjamin Franzke <bfr@qbus.de>
Tested-by: Benjamin Franzke <bfr@qbus.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Core/Bootstrap.php

index cbdc7c3..d5c5274 100644 (file)
@@ -216,11 +216,10 @@ class Bootstrap
      *
      * Script execution will be aborted if something fails here.
      *
-     * @param int $entryPointLevel Number of subdirectories where the entry script is located under the document root.
      * @throws \RuntimeException when TYPO3_REQUESTTYPE was not set before, setRequestType() needs to be called before
      * @internal This is not a public API method, do not use in own extensions
      */
-    public static function baseSetup($entryPointLevel = null)
+    public static function baseSetup()
     {
         if (!defined('TYPO3_REQUESTTYPE')) {
             throw new \RuntimeException('No Request Type was set, TYPO3 does not know in which context it is run.', 1450561838);