summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Files/Sharing/FilesDropPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Files/Sharing/FilesDropPlugin.php')
-rw-r--r--apps/dav/lib/Files/Sharing/FilesDropPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Files/Sharing/FilesDropPlugin.php b/apps/dav/lib/Files/Sharing/FilesDropPlugin.php
index 7a34ef95079..4542d0b52d0 100644
--- a/apps/dav/lib/Files/Sharing/FilesDropPlugin.php
+++ b/apps/dav/lib/Files/Sharing/FilesDropPlugin.php
@@ -61,7 +61,7 @@ class FilesDropPlugin extends ServerPlugin {
* @throws MethodNotAllowed
*/
public function initialize(\Sabre\DAV\Server $server) {
- $server->on('beforeMethod', [$this, 'beforeMethod'], 999);
+ $server->on('beforeMethod:*', [$this, 'beforeMethod'], 999);
$this->enabled = false;
}