diff options
author | Timo Förster <tfoerster@webfoersterei.de> | 2018-07-30 17:28:08 +0200 |
---|---|---|
committer | Timo Förster <tfoerster@webfoersterei.de> | 2018-08-24 23:12:02 +0200 |
commit | 8d8189c9321ebc4b7049e6060a4d2e3611051aea (patch) | |
tree | 45ce0f5765f22b71be6128fef45ce72c912b2e4e /settings/Controller | |
parent | 006e150c879312264db10009792c7035be9562dc (diff) | |
download | nextcloud-server-8d8189c9321ebc4b7049e6060a4d2e3611051aea.tar.gz nextcloud-server-8d8189c9321ebc4b7049e6060a4d2e3611051aea.zip |
Allow any Random generator that implements ISecureRandom for setupCheck
Signed-off-by: Timo Förster <tfoerster@webfoersterei.de>
Diffstat (limited to 'settings/Controller')
-rw-r--r-- | settings/Controller/CheckSetupController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index 9219ca1350c..93acc7b4dab 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -42,7 +42,6 @@ use OC\DB\MissingIndexInformation; use OC\IntegrityCheck\Checker; use OC\Lock\NoopLockingProvider; use OC\MemoryInfo; -use OC\Security\SecureRandom; use OCP\AppFramework\Controller; use OCP\AppFramework\Http\DataDisplayResponse; use OCP\AppFramework\Http\DataResponse; @@ -56,6 +55,7 @@ use OCP\ILogger; use OCP\IRequest; use OCP\IURLGenerator; use OCP\Lock\ILockingProvider; +use OCP\Security\ISecureRandom; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; @@ -87,7 +87,7 @@ class CheckSetupController extends Controller { private $dateTimeFormatter; /** @var MemoryInfo */ private $memoryInfo; - /** @var SecureRandom */ + /** @var ISecureRandom */ private $secureRandom; public function __construct($AppName, @@ -104,7 +104,7 @@ class CheckSetupController extends Controller { ILockingProvider $lockingProvider, IDateTimeFormatter $dateTimeFormatter, MemoryInfo $memoryInfo, - SecureRandom $secureRandom) { + ISecureRandom $secureRandom) { parent::__construct($AppName, $request); $this->config = $config; $this->clientService = $clientService; |