[Pkg-owncloud-commits] [owncloud] 125/223: Fix deleting of external shares

David Prévot taffit at moszumanska.debian.org
Sun Jun 22 01:54:14 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

commit decb51aee64d024059cf9f66b88e802270f8da09
Author: Robin Appelman <icewind at owncloud.com>
Date:   Thu Jun 12 16:20:35 2014 +0200

    Fix deleting of external shares
---
 apps/files_sharing/lib/external/manager.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/files_sharing/lib/external/manager.php b/apps/files_sharing/lib/external/manager.php
index a1a9712..53e8121 100644
--- a/apps/files_sharing/lib/external/manager.php
+++ b/apps/files_sharing/lib/external/manager.php
@@ -124,6 +124,7 @@ class Manager {
 	}
 
 	public function removeShare($mountPoint) {
+		$mountPoint = $this->stripPath($mountPoint);
 		$hash = md5($mountPoint);
 		$query = $this->connection->prepare('DELETE FROM *PREFIX*share_external WHERE `mountpoint_hash` = ?');
 		return (bool)$query->execute(array($hash));

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



More information about the Pkg-owncloud-commits mailing list