simplify check
This commit is contained in:
parent
4e66f8a8e2
commit
c8bf5f4328
|
@ -702,7 +702,7 @@ App::shutdown()
|
|||
|
||||
|
||||
if ($project->getId() !== 'console') {
|
||||
if (!(Auth::isPrivilegedUser(Authorization::getRoles()) && !$user->isEmpty())) {
|
||||
if (!Auth::isPrivilegedUser(Authorization::getRoles())) {
|
||||
$fileSize = 0;
|
||||
$file = $request->getFiles('file');
|
||||
if (!empty($file)) {
|
||||
|
|
Loading…
Reference in a new issue