X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FPostDebug%2FPostDebugPlugin.php;h=cfeb81cf2acf6f45fe2bb3dd2e133daa86cd9162;hb=93cea712eff597199fd596e9752d2e532e0e6f24;hp=558db71534c21654039dd4cbdb629b3650e17b23;hpb=9948523c33ea0d02681ff1e0cd4fcb839dc9df96;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"); } }