[Pkg-owncloud-commits] [php-sabredav] 98/220: Typo

David Prévot taffit at moszumanska.debian.org
Thu May 12 01:21:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 7338aa3596db00f0966c0000fa090308b2209ff5
Author: Evert Pot <me at evertpot.com>
Date:   Wed Mar 23 01:35:00 2016 -0400

    Typo
---
 lib/DAV/Sharing/Plugin.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/DAV/Sharing/Plugin.php b/lib/DAV/Sharing/Plugin.php
index 7c8d462..e9af465 100644
--- a/lib/DAV/Sharing/Plugin.php
+++ b/lib/DAV/Sharing/Plugin.php
@@ -252,7 +252,7 @@ class Plugin extends ServerPlugin {
 
         $aclPlugin = $this->server->getPlugin('acl');
         if ($aclPlugin) {
-          if (!$acl->checkPrivileges($path, '{DAV:}share', \Sabre\DAVACL\Plugin::R_PARENT, false)) {
+          if (!$aclPlugin->checkPrivileges($path, '{DAV:}share', \Sabre\DAVACL\Plugin::R_PARENT, false)) {
                 // Sharing is not permitted, we will not draw this interface.
                 return;
             }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-php/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list