]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/grouprss.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / actions / grouprss.php
index 39dcff83d9f34af62341e2649464cf55c6fc5b46..4728f429f4488245a429c9891945528108c7f02e 100644 (file)
@@ -90,7 +90,7 @@ class groupRssAction extends Rss10Action
             return false;
         }
 
-        $local = Local_group::staticGet('nickname', $nickname);
+        $local = Local_group::getKV('nickname', $nickname);
 
         if (!$local) {
             // TRANS: Client error displayed when requesting a group RSS feed for group that does not exist.
@@ -98,7 +98,7 @@ class groupRssAction extends Rss10Action
             return false;
         }
 
-        $this->group = User_group::staticGet('id', $local->group_id);
+        $this->group = User_group::getKV('id', $local->group_id);
 
         if (!$this->group) {
             // TRANS: Client error displayed when requesting a group RSS feed for an object that is not a group.
@@ -137,7 +137,7 @@ class groupRssAction extends Rss10Action
                    // TRANS: Message is used as link title. %s is a user nickname.
                    'title' => sprintf(_('%s timeline'), $group->nickname),
                    'link' => common_local_url('showgroup', array('nickname' => $group->nickname)),
-                   // TRANS: Message is used as link description. %1$s is a username, %2$s is a site name.
+                   // TRANS: Message is used as link description. %1$s is a group name, %2$s is a site name.
                    'description' => sprintf(_('Updates from members of %1$s on %2$s!'),
                                             $group->nickname, common_config('site', 'name')));
         return $c;