mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
"remove eACL on rmdir also for STORE2DB"
This commit is contained in:
parent
dec9991bbf
commit
6b1841dccb
@ -677,10 +677,10 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
||||
unset($stmt); // free statement object, on some installs a new prepare fails otherwise!
|
||||
|
||||
$stmt = self::$pdo->prepare('DELETE FROM '.self::TABLE.' WHERE fs_id=?');
|
||||
if (($ret = $stmt->execute(array($stat['ino']))) && self::url2operation($url) == self::STORE2FS)
|
||||
if (($ret = $stmt->execute(array($stat['ino']))))
|
||||
{
|
||||
self::eacl($path,null,false,$stat['ino']); // remove all (=false) evtl. existing extended acl for that dir
|
||||
rmdir(self::_fs_path($path));
|
||||
if (self::url2operation($url) == self::STORE2FS) rmdir(self::_fs_path($path));
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user