X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FPostDebug%2FPostDebugPlugin.php;h=120feee8fe0c88c92260d683ad44f3822a910cd3;hb=2dfd34b12df1eb4c9e4bf464250a3d34bca8801d;hp=48fe28eabd5248be128efa8e26436577c3e3ba4f;hpb=c187bf55974347f7ddb4f28714af57861dce8f08;p=quix0rs-gnu-social.git diff --git a/plugins/PostDebug/PostDebugPlugin.php b/plugins/PostDebug/PostDebugPlugin.php index 48fe28eabd..120feee8fe 100644 --- a/plugins/PostDebug/PostDebugPlugin.php +++ b/plugins/PostDebug/PostDebugPlugin.php @@ -48,13 +48,14 @@ class PostDebugPlugin extends Plugin } } - public function onPluginVersion(&$versions) + public function onPluginVersion(array &$versions) { $versions[] = array('name' => 'PostDebug', - 'version' => STATUSNET_VERSION, + 'version' => GNUSOCIAL_VERSION, 'author' => 'Brion Vibber', 'homepage' => 'http://status.net/wiki/Plugin:PostDebug', 'rawdescription' => + // TRANS: Plugin description. _m('Debugging tool to record request details on POST.')); return true; } @@ -145,6 +146,4 @@ class PostDebugPlugin extends Plugin } return $data; } - } -