Revert "fix wrong usage of \Froxlor\User::getAll()"

This reverts commit 48ff2e6b6d.
This commit is contained in:
Michael Kaufmann
2018-12-22 08:15:31 +01:00
parent e719731de0
commit c800e89414
2 changed files with 8 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ class IntegrityCheck
*/
public function __construct()
{
if (! empty(\Froxlor\User::getAll())) {
if (! isset(\Froxlor\User::getAll()) || ! is_array(\Froxlor\User::getAll())) {
\Froxlor\User::getAll() = array(
'loginname' => 'integrity-check'
);