mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fix use of old egw_vfs class instead of new Api\Vfs
This commit is contained in:
parent
55edf5cfea
commit
7cc280ac5f
@ -340,7 +340,7 @@ class resources_bo
|
||||
unset($resource['own_file']);
|
||||
break;
|
||||
}
|
||||
elseif(@egw_vfs::stat('/apps/resources/'.$resource['res_id'].'/'.self::PICTURE_NAME))
|
||||
elseif(@Vfs::stat('/apps/resources/'.$resource['res_id'].'/'.self::PICTURE_NAME))
|
||||
{
|
||||
break;
|
||||
}
|
||||
@ -368,10 +368,10 @@ class resources_bo
|
||||
}
|
||||
|
||||
// Check for restore of deleted, restore held links
|
||||
if($old && $old['deleted'] && !$resource['deleted'])
|
||||
{
|
||||
Link::restore('resources', $resource['res_id']);
|
||||
}
|
||||
if($old && $old['deleted'] && !$resource['deleted'])
|
||||
{
|
||||
Link::restore('resources', $resource['res_id']);
|
||||
}
|
||||
|
||||
// delete old pictures
|
||||
if($resource['picture_src'] != 'own_src')
|
||||
|
Loading…
Reference in New Issue
Block a user