mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
fire_event add log
This commit is contained in:
@@ -32,8 +32,8 @@ class PluginStore extends Model
|
||||
{
|
||||
$list = self::listAll(true);
|
||||
$enabled = Plugin::listEnabled();
|
||||
foreach ($list as &$row) {
|
||||
$row['installed_version'] = $enabled[$row['plugin_id']] ?? '';
|
||||
foreach ($list as $key => $row) {
|
||||
$list[$key]['installed_version'] = $enabled[$row['plugin_id']] ?? '';
|
||||
}
|
||||
return $list;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user