Skip to content
Snippets Groups Projects
Commit 100d9e19 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #19095 from owncloud/set-priority-to-1-for-maintenance

Make sure Maintenance is checked before auth and others
parents a6ab106b bc89bca8
Branches
No related tags found
No related merge requests found
......@@ -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);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment