aboutsummaryrefslogtreecommitdiffstats
path: root/include/plugin.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-16 13:57:55 -0800
committerfriendica <info@friendica.com>2012-11-16 13:57:55 -0800
commit9a726f030844221f1eea9babcce915784b6ca1de (patch)
tree6483e758bd19dae3f9173b4397eff0fe498eada6 /include/plugin.php
parent5d4c9f5617ec8a99132a59d080f66989eba918f9 (diff)
downloadvolse-hubzilla-9a726f030844221f1eea9babcce915784b6ca1de.tar.gz
volse-hubzilla-9a726f030844221f1eea9babcce915784b6ca1de.tar.bz2
volse-hubzilla-9a726f030844221f1eea9babcce915784b6ca1de.zip
finish basic item encoding, add plugin compatibility tag, notes on improving $global_perms for edge cases
Diffstat (limited to 'include/plugin.php')
-rw-r--r--include/plugin.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/plugin.php b/include/plugin.php
index baed2ab3b..c5039692a 100644
--- a/include/plugin.php
+++ b/include/plugin.php
@@ -204,6 +204,7 @@ function call_hooks($name, &$data = null) {
* * Version: 1.2.3
* * Author: John <profile url>
* * Author: Jane <email>
+ * * Compat: Red [(version)], Friendica [(version)]
* *
*/
@@ -213,7 +214,8 @@ function get_plugin_info($plugin){
'name' => $plugin,
'description' => "",
'author' => array(),
- 'version' => ""
+ 'version' => "",
+ 'compat' => ""
);
if (!is_file("addon/$plugin/$plugin.php")) return $info;
@@ -258,6 +260,7 @@ function get_plugin_info($plugin){
* * Version: 1.2.3
* * Author: John <profile url>
* * Maintainer: Jane <profile url>
+ * * Compat: Friendica [(version)], Red [(version)]
* *
*/
@@ -270,6 +273,7 @@ function get_theme_info($theme){
'maintainer' => array(),
'version' => "",
'credits' => "",
+ 'compat' => "",
'experimental' => false,
'unsupported' => false
);