Fix deleting of external shares
This commit is contained in:
parent
3f2cb39aba
commit
decb51aee6
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue