mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Suppress showing unsupported addons in the administration.
This commit is contained in:
parent
4ca857e110
commit
7b7e372fb0
2 changed files with 37 additions and 25 deletions
|
@ -197,14 +197,14 @@ function plugin_is_app($name) {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}}
|
||||
|
||||
/*
|
||||
* parse plugin comment in search of plugin infos.
|
||||
* like
|
||||
*
|
||||
*
|
||||
* * Name: Plugin
|
||||
* * Description: A plugin which plugs in
|
||||
* * Version: 1.2.3
|
||||
|
@ -222,7 +222,8 @@ function get_plugin_info($plugin){
|
|||
'name' => $plugin,
|
||||
'description' => "",
|
||||
'author' => array(),
|
||||
'version' => ""
|
||||
'version' => "",
|
||||
'status' => ""
|
||||
);
|
||||
|
||||
if (!is_file("addon/$plugin/$plugin.php")) return $info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue