X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FForceGroup%2FForceGroupPlugin.php;h=56e33355e86703ecc5d356ccf911d46a07704141;hb=bc1f9eb3a551bcd0ab74911791087380a16d40e0;hp=626275d6b96b267584bcaf977ccfe8cd607f150f;hpb=9844ec76e9f9d593e31d4e7a0078872eab1d47c8;p=quix0rs-gnu-social.git diff --git a/plugins/ForceGroup/ForceGroupPlugin.php b/plugins/ForceGroup/ForceGroupPlugin.php index 626275d6b9..56e33355e8 100644 --- a/plugins/ForceGroup/ForceGroupPlugin.php +++ b/plugins/ForceGroup/ForceGroupPlugin.php @@ -53,7 +53,7 @@ class ForceGroupPlugin extends Plugin { $profile = $notice->getProfile(); - $isRemote = !(User::staticGet('id', $profile->id)); + $isRemote = !(User::getKV('id', $profile->id)); if ($isRemote) { /* * Notices from remote users on other sites @@ -105,12 +105,12 @@ class ForceGroupPlugin extends Plugin * * @return boolean hook value */ - function onPluginVersion(&$versions) + function onPluginVersion(array &$versions) { $url = 'http://status.net/wiki/Plugin:ForceGroup'; $versions[] = array('name' => 'ForceGroup', - 'version' => STATUSNET_VERSION, + 'version' => GNUSOCIAL_VERSION, 'author' => 'Brion Vibber', 'homepage' => $url, 'rawdescription' =>