From: Markus Gerdelmann Date: Wed, 31 Aug 2011 14:29:45 +0000 (+0200) Subject: UserAction.class.php modified, the default value of both parameter is true, so the... X-Git-Tag: 2.0.0_Beta_1~1800^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=02a0f61da6b39bccd3fbc1fbe48480531788fada;p=GitHub%2FWoltLab%2FWCF.git UserAction.class.php modified, the default value of both parameter is true, so the parameter can be omitted. --- diff --git a/wcfsetup/install/files/lib/data/user/UserAction.class.php b/wcfsetup/install/files/lib/data/user/UserAction.class.php index 494a68f21c..23708e0568 100644 --- a/wcfsetup/install/files/lib/data/user/UserAction.class.php +++ b/wcfsetup/install/files/lib/data/user/UserAction.class.php @@ -128,7 +128,7 @@ class UserAction extends AbstractDatabaseObjectAction { foreach ($this->objects as $userEditor) { if (count($groupIDs)) { - $userEditor->addToGroups($groupIDs, true, true); + $userEditor->addToGroups($groupIDs); } if (count($removeGroups)) {