Merge branch 'exclude_addon_common' into 'dev'

exclude addon_common from addon list

See merge request hubzilla/core!1513
This commit is contained in:
M. Dent 2019-02-15 22:03:33 +01:00
commit a5b7590d3a

View File

@ -375,6 +375,9 @@ class Addons {
if($files) {
foreach($files as $file) {
if (is_dir($file)){
if($file == 'addon/addon_common/')
continue;
list($tmp, $id) = array_map('trim', explode('/', $file));
$info = get_plugin_info($id);
$enabled = in_array($id,\App::$plugins);