From 378d6cf97f1d3e6ae12b9f43b22f538417037934 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Sun, 28 Apr 2013 07:45:32 -0400 Subject: [PATCH] Build plugin info from both package.xml and composer.json files; allow plugins to override the meta info method --- program/lib/Roundcube/rcube_plugin.php | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/program/lib/Roundcube/rcube_plugin.php b/program/lib/Roundcube/rcube_plugin.php index 167a9eb..d24a269 100644 --- a/program/lib/Roundcube/rcube_plugin.php +++ b/program/lib/Roundcube/rcube_plugin.php @@ -92,6 +92,16 @@ abstract function init(); /** + * Provide information about this + * + * @return array Meta information about a plugin or false if not implemented + */ + public static function info() + { + return false; + } + + /** * Attempt to load the given plugin which is required for the current plugin * * @param string Plugin name -- Gitblit v1.9.1