summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php
diff options
context:
space:
mode:
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);
}
/**