forked from extern/egroupware
fix not working permission check
This commit is contained in:
parent
29c73a8694
commit
77ab3e6531
@ -166,6 +166,8 @@ class filemanager_admin extends filemanager_ui
|
||||
{
|
||||
$msg = lang('Permission denied')."\n\n".lang('You are NOT allowed to finally delete older versions and deleted files!');
|
||||
}
|
||||
else
|
||||
{
|
||||
// we need to be root to delete files independent of permissions and ownership
|
||||
Vfs::$is_root = true;
|
||||
if (!Vfs::file_exists($content['versionedpath']) || !Vfs::is_dir($content['versionedpath']))
|
||||
@ -197,6 +199,7 @@ class filemanager_admin extends filemanager_ui
|
||||
Vfs::$is_root = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (true) $content = array(
|
||||
'versionedpath' => $content['versionedpath'],
|
||||
'ctime' => $content['ctime'],
|
||||
|
Loading…
Reference in New Issue
Block a user