mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fix some scrutinizer "bugs"
This commit is contained in:
parent
8a9b6591a8
commit
9860c9d8b7
@ -1300,7 +1300,7 @@ class Link extends Link\Storage
|
||||
if (($Ok = !file_exists($url) || Vfs::remove($url,true)) && ((int)$app > 0 || $fname))
|
||||
{
|
||||
// try removing the dir, in case it's empty
|
||||
@Vfs::rmdir(Vfs::dirname($url));
|
||||
if (($dir = Vfs::dirname($url))) @Vfs::rmdir($dir);
|
||||
}
|
||||
if (!is_null($current_is_root))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user