diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-12 16:20:35 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-14 10:14:08 +0200 |
commit | decb51aee64d024059cf9f66b88e802270f8da09 (patch) | |
tree | 88aea97bd3d07a7ed2baa7b9e3dcb4e4c702d3a7 /apps | |
parent | 3f2cb39aba90e05b7b897c1b3e018b6b33a76d21 (diff) | |
download | nextcloud-server-decb51aee64d024059cf9f66b88e802270f8da09.tar.gz nextcloud-server-decb51aee64d024059cf9f66b88e802270f8da09.zip |
Fix deleting of external shares
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/external/manager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/external/manager.php b/apps/files_sharing/lib/external/manager.php index a1a97126506..53e8121b7f6 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)); |