Add missing dba::inArray to Addon::reload
This commit is contained in:
parent
6212b3d287
commit
0601ba1309
|
@ -4,10 +4,9 @@
|
||||||
*/
|
*/
|
||||||
namespace Friendica\Core;
|
namespace Friendica\Core;
|
||||||
|
|
||||||
use Friendica\App;
|
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Core\System;
|
|
||||||
use Friendica\Database\DBM;
|
use Friendica\Database\DBM;
|
||||||
|
|
||||||
use dba;
|
use dba;
|
||||||
|
|
||||||
require_once 'include/dba.php';
|
require_once 'include/dba.php';
|
||||||
|
@ -83,7 +82,7 @@ class Addon
|
||||||
if (strlen($addons)) {
|
if (strlen($addons)) {
|
||||||
$r = dba::select('addon', [], ['installed' => 1]);
|
$r = dba::select('addon', [], ['installed' => 1]);
|
||||||
if (DBM::is_result($r)) {
|
if (DBM::is_result($r)) {
|
||||||
$installed = $r;
|
$installed = dba::inArray($r);
|
||||||
} else {
|
} else {
|
||||||
$installed = [];
|
$installed = [];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue