summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-03-30 09:34:25 +0200
committerGitHub <noreply@github.com>2020-03-30 09:34:25 +0200
commit2200cc85629f449dc8cb747cd6aa0049a3cdab6d (patch)
treeaea025990e7f9e684f7ab7a7a4bdbdf90d262cf1 /apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php
parent9e8ac1d24a5cd5f41c0b160d79be49195d4bf8b9 (diff)
parent55081b7fd29b58600d5e0d13ed678de902098e4f (diff)
downloadnextcloud-server-2200cc85629f449dc8cb747cd6aa0049a3cdab6d.tar.gz
nextcloud-server-2200cc85629f449dc8cb747cd6aa0049a3cdab6d.zip
Merge pull request #19325 from nextcloud/dependachristoph/composer/sabre-4.0
Update Sabre (and friends) to 4.0
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php b/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php
index 947b2960eab..896a6a5518c 100644
--- a/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php
@@ -74,7 +74,7 @@ class AppEnabledPlugin extends ServerPlugin {
public function initialize(\Sabre\DAV\Server $server) {
$this->server = $server;
- $this->server->on('beforeMethod', [$this, 'checkAppEnabled'], 30);
+ $this->server->on('beforeMethod:*', [$this, 'checkAppEnabled'], 30);
}
/**