mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 21:49:28 +01:00
fixed not deleted files in filesystem
This commit is contained in:
parent
e91ab0ea2c
commit
42c4347eb6
@ -516,7 +516,8 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
||||
|
||||
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']));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user