diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-12-10 09:37:38 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-12-10 17:06:32 +0100 |
commit | 8ebd31d6868b494789325ca6a5e81418242bcafe (patch) | |
tree | 3f4ffb5987c7e43451215cc62e5937846dd87f28 /lib/base.php | |
parent | 27fdc6575d71a039db75164842263a1ed864ca47 (diff) | |
download | nextcloud-server-8ebd31d6868b494789325ca6a5e81418242bcafe.tar.gz nextcloud-server-8ebd31d6868b494789325ca6a5e81418242bcafe.zip |
Make $vars and $secureRandom required.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 115a0968af2..3e89cbe6c54 100644 --- a/lib/base.php +++ b/lib/base.php @@ -159,7 +159,7 @@ class OC { 'SCRIPT_FILENAME' => $_SERVER['SCRIPT_FILENAME'], ], ]; - $fakeRequest = new \OC\AppFramework\Http\Request($params, null, new \OC\AllConfig(new \OC\SystemConfig(self::$config))); + $fakeRequest = new \OC\AppFramework\Http\Request($params, new \OC\Security\SecureRandom(), new \OC\AllConfig(new \OC\SystemConfig(self::$config))); $scriptName = $fakeRequest->getScriptName(); if (substr($scriptName, -1) == '/') { $scriptName .= 'index.php'; |