X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2FPostDebug%2FPostDebugPlugin.php;h=cfeb81cf2acf6f45fe2bb3dd2e133daa86cd9162;hb=26703076f66f77f337559416cc02101c532d7aa8;hp=558db71534c21654039dd4cbdb629b3650e17b23;hpb=513c54fa89085fde783a73c298d61576f834b131;p=quix0rs-gnu-social.git diff --git a/plugins/PostDebug/PostDebugPlugin.php b/plugins/PostDebug/PostDebugPlugin.php index 558db71534..cfeb81cf2a 100644 --- a/plugins/PostDebug/PostDebugPlugin.php +++ b/plugins/PostDebug/PostDebugPlugin.php @@ -48,10 +48,10 @@ 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' => @@ -81,7 +81,7 @@ class PostDebugPlugin extends Plugin $file = $this->dir . DIRECTORY_SEPARATOR . $this->logFileName(); file_put_contents($file, $output); } else { - common_log(LOG_DEBUG, "PostDebug: $output"); + common_debug("PostDebug: $output"); } }