Browse Source

Add missing dba::inArray to Addon::reload

tags/3.6
Hypolite Petovan 2 years ago
parent
commit
0601ba1309
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/Core/Addon.php

+ 2
- 3
src/Core/Addon.php View File

@@ -4,10 +4,9 @@
*/
namespace Friendica\Core;

use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\System;
use Friendica\Database\DBM;

use dba;

require_once 'include/dba.php';
@@ -83,7 +82,7 @@ class Addon
if (strlen($addons)) {
$r = dba::select('addon', [], ['installed' => 1]);
if (DBM::is_result($r)) {
$installed = $r;
$installed = dba::inArray($r);
} else {
$installed = [];
}


Loading…
Cancel
Save