]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Group.php
Merge pull request #8063 from MrPetovan/bug/8058-use-default-user-acl-events
[friendica.git] / src / Model / Group.php
index 3be2a80e560c098a1cdff5be82dca55ad4d020f5..b87458756a94e14d487a593704a78a4034abcb6b 100644 (file)
@@ -6,7 +6,6 @@
 namespace Friendica\Model;
 
 use Friendica\BaseModule;
-use Friendica\BaseObject;
 use Friendica\Core\L10n;
 use Friendica\Core\Logger;
 use Friendica\Core\Protocol;
@@ -16,7 +15,7 @@ use Friendica\Database\DBA;
 /**
  * @brief functions for interacting with the group database table
  */
-class Group extends BaseObject
+class Group
 {
        const FOLLOWERS = '~';
        const MUTUALS = '&';
@@ -385,7 +384,7 @@ class Group extends BaseObject
                DBA::close($stmt);
 
                if ($check_dead) {
-                       Contact::pruneUnavailable($return);
+                       $return = Contact::pruneUnavailable($return);
                }
 
                return $return;