Permalink
Browse files

Fix webDAV

  • Loading branch information...
1 parent 7f13fce commit c066061e5155fbf7482ac4b4da427da0cdc64a4e @cdujeu cdujeu committed Jun 9, 2016
@@ -28,6 +28,7 @@
use Pydio\Core\Exception\WorkspaceNotFoundException;
use Pydio\Core\Model\ContextInterface;
use Pydio\Core\Model\UserInterface;
+use Pydio\Core\PluginFramework\PluginsService;
use Pydio\Core\Services\AuthService;
use Pydio\Core\Services\ConfService;
use Pydio\Core\Services\RepositoryService;
@@ -138,6 +139,7 @@ public function authenticate(Sabre\DAV\Server $server, $realm)
// NOW UPDATE CONTEXT
$this->context->setUserId($this->currentUser);
+ PluginsService::getInstance($this->context);
AJXP_Logger::updateContext($this->context);
TextEncoder::updateContext($this->context);
@@ -24,6 +24,7 @@
use Pydio\Core\Exception\RepositoryLoadException;
use Pydio\Core\Exception\WorkspaceForbiddenException;
use Pydio\Core\Exception\WorkspaceNotFoundException;
+use Pydio\Core\PluginFramework\PluginsService;
use Pydio\Core\Services\RepositoryService;
use Pydio\Core\Services\UsersService;
use Pydio\Core\Utils\TextEncoder;
@@ -131,6 +132,7 @@ public function authenticate(Sabre\DAV\Server $server, $realm)
// NOW UPDATE CONTEXT
$this->context->setUserObject($loggedUser);
+ PluginsService::getInstance($this->context);
AJXP_Logger::updateContext($this->context);
TextEncoder::updateContext($this->context);

0 comments on commit c066061

Please sign in to comment.