mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
fixed fatal error happening on some installs when deleting a dir in sqlfs
This commit is contained in:
parent
4048c304d7
commit
46325b070c
@ -625,6 +625,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
||||
return false;
|
||||
}
|
||||
unset(self::$stat_cache[$path]);
|
||||
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']))) && $operation == self::STORE2FS)
|
||||
|
Loading…
Reference in New Issue
Block a user