summaryrefslogtreecommitdiffstats
path: root/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-03-09 20:42:47 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-03-10 08:50:38 +0100
commitf421fd25ba8a302ce394c35de287cb24c9f61202 (patch)
tree8b5e9afd530d76930e54ed7fe4b210043c554033 /apps/cloud_federation_api/lib/Controller/RequestHandlerController.php
parent2f70397b03ce422fdb3b6fedb1a2b8409166650e (diff)
downloadnextcloud-server-f421fd25ba8a302ce394c35de287cb24c9f61202.tar.gz
nextcloud-server-f421fd25ba8a302ce394c35de287cb24c9f61202.zip
Move requesthandler controller to LoggerInterface
* LoggerInterface * executeUpdate * log exception when there is one (just so we ahve the trace) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/cloud_federation_api/lib/Controller/RequestHandlerController.php')
-rw-r--r--apps/cloud_federation_api/lib/Controller/RequestHandlerController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php b/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php
index 17d2bea323f..cc2364ed645 100644
--- a/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php
+++ b/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php
@@ -38,11 +38,11 @@ use OCP\Federation\ICloudFederationFactory;
use OCP\Federation\ICloudFederationProviderManager;
use OCP\Federation\ICloudIdManager;
use OCP\IGroupManager;
-use OCP\ILogger;
use OCP\IRequest;
use OCP\IURLGenerator;
use OCP\IUserManager;
use OCP\Share\Exceptions\ShareNotFound;
+use Psr\Log\LoggerInterface;
/**
* Class RequestHandlerController
@@ -53,7 +53,7 @@ use OCP\Share\Exceptions\ShareNotFound;
*/
class RequestHandlerController extends Controller {
- /** @var ILogger */
+ /** @var LoggerInterface */
private $logger;
/** @var IUserManager */
@@ -79,7 +79,7 @@ class RequestHandlerController extends Controller {
public function __construct($appName,
IRequest $request,
- ILogger $logger,
+ LoggerInterface $logger,
IUserManager $userManager,
IGroupManager $groupManager,
IURLGenerator $urlGenerator,