X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FFirePHP%2FFirePHPPlugin.php;h=f884cd9c699d88e779530a56a87dd552c656025d;hb=546a03b5eac5f172d543a889625e2f4de446e8b7;hp=452f7902422392507fd5c21901c0e306b112e750;hpb=bd6571c2e17939b21e01afd3772acb5cebbbadfe;p=quix0rs-gnu-social.git diff --git a/plugins/FirePHP/FirePHPPlugin.php b/plugins/FirePHP/FirePHPPlugin.php index 452f790242..f884cd9c69 100644 --- a/plugins/FirePHP/FirePHPPlugin.php +++ b/plugins/FirePHP/FirePHPPlugin.php @@ -1,11 +1,11 @@ -Author URI: http://candrews.integralblue.com/ + * StatusNet Plugin: 0.9 + * Plugin Name: FirePHP + * Description: Sends StatusNet log output to FirePHP + * Version: 0.1 + * Author: Craig Andrews + * Author URI: http://candrews.integralblue.com/ */ /* @@ -24,11 +24,13 @@ Author URI: http://candrews.integralblue.com/ * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . - */ - -/** + * @category Plugin * @package MinifyPlugin * @maintainer Craig Andrews + * @author Craig Andrews + * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org + * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 + * @link http://status.net/ */ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -52,19 +54,19 @@ class FirePHPPlugin extends Plugin { static $firephp_priorities = array(FirePHP::ERROR, FirePHP::ERROR, FirePHP::ERROR, FirePHP::ERROR, FirePHP::WARN, FirePHP::LOG, FirePHP::LOG, FirePHP::INFO); - $priority = $firephp_priorities[$priority]; - $this->firephp->fb($msg, $priority); + $fp_priority = $firephp_priorities[$priority]; + $this->firephp->fb($msg, $fp_priority); } - function onPluginVersion(&$versions) + function onPluginVersion(array &$versions) { $versions[] = array('name' => 'FirePHP', - 'version' => STATUSNET_VERSION, + 'version' => GNUSOCIAL_VERSION, 'author' => 'Craig Andrews', 'homepage' => 'http://status.net/wiki/Plugin:FirePHP', 'rawdescription' => + // TRANS: Plugin description. _m('The FirePHP plugin writes StatusNet\'s log output to FirePHP.')); return true; } } -