aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-09-18 08:17:58 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-18 08:17:58 +0200
commit100d9e1976a16b5368dc2514b1e154b97c967a21 (patch)
treee3f3faf8e41ca433e88ccba157795c6182db9f9e /lib/private/connector/sabre
parenta6ab106b9a8ad13bd8d132638b7dcfc79c256b26 (diff)
parentbc89bca8039aa09716ebd525fd0d50789430324f (diff)
downloadnextcloud-server-100d9e1976a16b5368dc2514b1e154b97c967a21.tar.gz
nextcloud-server-100d9e1976a16b5368dc2514b1e154b97c967a21.zip
Merge pull request #19095 from owncloud/set-priority-to-1-for-maintenance
Make sure Maintenance is checked before auth and others
Diffstat (limited to 'lib/private/connector/sabre')
-rw-r--r--lib/private/connector/sabre/maintenanceplugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/maintenanceplugin.php b/lib/private/connector/sabre/maintenanceplugin.php
index 5b48abbc517..f886332418a 100644
--- a/lib/private/connector/sabre/maintenanceplugin.php
+++ b/lib/private/connector/sabre/maintenanceplugin.php
@@ -65,7 +65,7 @@ class MaintenancePlugin extends ServerPlugin {
*/
public function initialize(\Sabre\DAV\Server $server) {
$this->server = $server;
- $this->server->on('beforeMethod', array($this, 'checkMaintenanceMode'), 10);
+ $this->server->on('beforeMethod', array($this, 'checkMaintenanceMode'), 1);
}
/**