forked from extern/egroupware
fixed not deleted files in filesystem
This commit is contained in:
parent
91b434636b
commit
9c4b9aebbf
@ -516,7 +516,8 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
|||||||
|
|
||||||
if (($ret = $stmt->execute(array('fs_id' => $stat['ino']))))
|
if (($ret = $stmt->execute(array('fs_id' => $stat['ino']))))
|
||||||
{
|
{
|
||||||
if (self::url2operation($url) == self::STORE2FS && !($stat['mode'] & self::MODE_LINK))
|
if (self::url2operation($url) == self::STORE2FS &&
|
||||||
|
($stat['mode'] & self::MODE_LINK) != self::MODE_LINK)
|
||||||
{
|
{
|
||||||
unlink(self::_fs_path($stat['ino']));
|
unlink(self::_fs_path($stat['ino']));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user