forked from extern/egroupware
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
|
// Now check the remaining shares
|
||||||
/* temporary disabled, as the check does not correctly check user permissions nor account for pathes without vfs prefix
|
/* temporary disabled, as the check does not correctly check user permissions nor account for pathes without vfs prefix*/
|
||||||
static::cleanup_missing_paths();*/
|
static::cleanup_missing_paths();
|
||||||
}
|
}
|
||||||
catch (\Exception $e) {
|
catch (\Exception $e) {
|
||||||
_egw_log_exception($e);
|
_egw_log_exception($e);
|
||||||
|
@ -339,7 +339,7 @@ class Sharing extends \EGroupware\Api\Sharing
|
|||||||
*/
|
*/
|
||||||
protected static function check_path($share)
|
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