]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/SubMirror/actions/basemirror.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / plugins / SubMirror / actions / basemirror.php
index e3b67bb1d6a310ef7193721acb892a00f19ba3b4..e6bbaf68642c8cc6779d269712ee7ad3fa826bc3 100644 (file)
@@ -77,7 +77,7 @@ abstract class BaseMirrorAction extends Action
     protected function validateProfile($id)
     {
         $id = intval($id);
-        $profile = Profile::staticGet('id', $id);
+        $profile = Profile::getKV('id', $id);
         if ($profile && $profile->id != $this->user->id) {
             return $profile;
         }