diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-12-09 15:19:14 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-12-09 17:51:41 +0300 |
commit | c4ea37b8a102adec16cf13085dba2fd7ef893195 (patch) | |
tree | a0b23e125a6e952ae1568a81bdd7b0d794f8443d /apps/files_sharing/lib | |
parent | 676d2b7a947754f4c42405b513658a5f6663673c (diff) |
Address minor comments
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/Controller/DeletedShareAPIController.php | 4 | ||||
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareAPIController.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php index 1981c0c1945..9a757412316 100644 --- a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php +++ b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php @@ -220,7 +220,7 @@ class DeletedShareAPIController extends OCSController { throw new QueryException(); } - return $this->serverContainer->query('\OCA\Talk\Share\Helper\DeletedShareAPIController'); + return $this->serverContainer->get('\OCA\Talk\Share\Helper\DeletedShareAPIController'); } /** @@ -237,6 +237,6 @@ class DeletedShareAPIController extends OCSController { throw new QueryException(); } - return $this->serverContainer->query('\OCA\Deck\Sharing\ShareAPIHelper'); + return $this->serverContainer->get('\OCA\Deck\Sharing\ShareAPIHelper'); } } diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php index 399ff18fba8..65de654be92 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -1558,7 +1558,7 @@ class ShareAPIController extends OCSController { throw new QueryException(); } - return $this->serverContainer->query('\OCA\Talk\Share\Helper\ShareAPIController'); + return $this->serverContainer->get('\OCA\Talk\Share\Helper\ShareAPIController'); } /** @@ -1575,7 +1575,7 @@ class ShareAPIController extends OCSController { throw new QueryException(); } - return $this->serverContainer->query('\OCA\Deck\Sharing\ShareAPIHelper'); + return $this->serverContainer->get('\OCA\Deck\Sharing\ShareAPIHelper'); } /** |