]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/User.php
Add Dice logging for Module creation
[friendica.git] / src / Model / User.php
index c43209b22552afcd494a223d4740ff6214a256d7..736612b0d158eb45e35059d5574ea372587c839b 100644 (file)
@@ -481,13 +481,12 @@ class User
        /**
         * Returns the default group for a given user and network
         *
-        * @param int    $uid     User id
-        * @param string $network network name
+        * @param int $uid User id
         *
         * @return int group id
         * @throws Exception
         */
-       public static function getDefaultGroup($uid, $network = '')
+       public static function getDefaultGroup($uid)
        {
                $user = DBA::selectFirst('user', ['def_gid'], ['uid' => $uid]);
                if (DBA::isResult($user)) {