Revert "fix wrong usage of \Froxlor\User::getAll()"
This reverts commit 48ff2e6b6d.
This commit is contained in:
@@ -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'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user