Api: Fix Sharing missing temp file cleanup

This commit is contained in:
nathangray 2020-03-05 15:03:34 -07:00
parent 1fcd502d57
commit 9b2e6b5012
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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']);
}
/**