mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
Api: Fix Sharing missing temp file cleanup
This commit is contained in:
parent
1fcd502d57
commit
9b2e6b5012
@ -794,8 +794,8 @@ class Sharing
|
||||
}
|
||||
|
||||
// Now check the remaining shares
|
||||
/* temporary disabled, as the check does not correctly check user permissions nor account for pathes without vfs prefix
|
||||
static::cleanup_missing_paths();*/
|
||||
/* temporary disabled, as the check does not correctly check user permissions nor account for pathes without vfs prefix*/
|
||||
static::cleanup_missing_paths();
|
||||
}
|
||||
catch (\Exception $e) {
|
||||
_egw_log_exception($e);
|
||||
|
@ -339,7 +339,7 @@ class Sharing extends \EGroupware\Api\Sharing
|
||||
*/
|
||||
protected static function check_path($share)
|
||||
{
|
||||
return file_exists($share['share_path']);
|
||||
return Vfs::file_exists($share['share_path']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user