]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Group_join_queue.php
Store direct messages as an activity
[quix0rs-gnu-social.git] / classes / Group_join_queue.php
index acf3a13957408ff4ac59db6cfdf0aab4594f2af1..7df71ed0420cf12f824700928b947c2dd03e0b70 100644 (file)
@@ -63,7 +63,7 @@ class Group_join_queue extends Managed_DataObject
         if (empty($member)) {
             // TRANS: Exception thrown providing an invalid profile ID.
             // TRANS: %s is the invalid profile ID.
-            throw new Exception(sprintf(_("Profile ID %s is invalid."),$this->profile_id));
+            throw new Exception(sprintf(_('Profile ID %s is invalid.'),$this->profile_id));
         }
 
         return $member;
@@ -76,7 +76,7 @@ class Group_join_queue extends Managed_DataObject
         if (empty($group)) {
             // TRANS: Exception thrown providing an invalid group ID.
             // TRANS: %s is the invalid group ID.
-            throw new Exception(sprintf(_("Group ID %s is invalid."),$this->group_id));
+            throw new Exception(sprintf(_('Group ID %s is invalid.'),$this->group_id));
         }
 
         return $group;
@@ -104,7 +104,7 @@ class Group_join_queue extends Managed_DataObject
      *
      * @return Group_member object on success
      */
-    function complete(User_group $group)
+    function complete()
     {
         $join = null;
         $profile = $this->getMember();