]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Group_member.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / classes / Group_member.php
index 390651e9019ab9f78a962c5bc23c6930fa74bf16..1c37abab14bf265baf84dc8c081c21a28837c6a7 100644 (file)
@@ -106,7 +106,7 @@ class Group_member extends Managed_DataObject
 
     function getMember()
     {
-        $member = Profile::staticGet('id', $this->profile_id);
+        $member = Profile::getKV('id', $this->profile_id);
 
         if (empty($member)) {
             // TRANS: Exception thrown providing an invalid profile ID.
@@ -119,7 +119,7 @@ class Group_member extends Managed_DataObject
 
     function getGroup()
     {
-        $group  = User_group::staticGet('id', $this->group_id);
+        $group  = User_group::getKV('id', $this->group_id);
 
         if (empty($group)) {
             // TRANS: Exception thrown providing an invalid group ID.