aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v1/webdav.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-04-12 14:01:13 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-05-05 22:03:59 +0200
commit829490ab7a02579c6b31573c3f53428e86cbf2e0 (patch)
tree1f644d168039ea1875398234419ace13f49dac5f /apps/dav/appinfo/v1/webdav.php
parent0690646d09430ce363b07bc2cd59283e303314eb (diff)
downloadnextcloud-server-829490ab7a02579c6b31573c3f53428e86cbf2e0.tar.gz
nextcloud-server-829490ab7a02579c6b31573c3f53428e86cbf2e0.zip
Cleanup dav
- Remove unused class AppEnabledPlugin - Add more type hinting when possible Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/dav/appinfo/v1/webdav.php')
-rw-r--r--apps/dav/appinfo/v1/webdav.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/webdav.php b/apps/dav/appinfo/v1/webdav.php
index e39a6b48d57..8dbe846f3ff 100644
--- a/apps/dav/appinfo/v1/webdav.php
+++ b/apps/dav/appinfo/v1/webdav.php
@@ -28,6 +28,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
+use Psr\Log\LoggerInterface;
+
// no php execution timeout for webdav
if (strpos(@ini_get('disable_functions'), 'set_time_limit') === false) {
@set_time_limit(0);
@@ -39,7 +41,7 @@ ignore_user_abort(true);
$serverFactory = new \OCA\DAV\Connector\Sabre\ServerFactory(
\OC::$server->getConfig(),
- \OC::$server->get(Psr\Log\LoggerInterface::class),
+ \OC::$server->get(LoggerInterface::class),
\OC::$server->getDatabaseConnection(),
\OC::$server->getUserSession(),
\OC::$server->getMountManager(),