]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/showgroup.php
New table for all old-school UI prefs
[quix0rs-gnu-social.git] / actions / showgroup.php
index 423551907ebe5d39296d02ba09f4a4f4b53b0c58..2449ea1db7d0e60732e60470163c1df4ce5aff66 100644 (file)
@@ -101,7 +101,7 @@ class ShowgroupAction extends GroupAction
 
         $user = common_current_user();
 
-        if (!empty($user) && $user->useStreamMode()) {
+        if (!empty($user) && $user->streamModeOnly()) {
             $stream = new GroupNoticeStream($this->group, $this->userProfile);
         } else {
             $stream = new ThreadingGroupNoticeStream($this->group, $this->userProfile);
@@ -147,7 +147,7 @@ class ShowgroupAction extends GroupAction
     {
         $user = common_current_user();
 
-        if (!empty($user) && $user->useStreamMode()) {
+        if (!empty($user) && $user->streamModeOnly()) {
             $nl = new NoticeList($this->notice, $this);
         } else {
             $nl = new ThreadedNoticeList($this->notice, $this, $this->userProfile);