Removes unused parameter
authorMatthias Schmidt <gravatronics@live.com>
Mon, 31 Dec 2012 19:41:26 +0000 (20:41 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 31 Dec 2012 19:41:26 +0000 (20:41 +0100)
wcfsetup/install/files/lib/system/acl/ACLHandler.class.php

index fa7652e44bc906a7a6ee5aa8a11e706562ab186a..f65df3e96150035350979103c2ef393a2b7d9214 100644 (file)
@@ -228,7 +228,7 @@ class ACLHandler extends SingletonFactory {
         * @return      array
         */
        public function getPermissions($objectTypeID, array $objectIDs, ACLOptionCategory $category = null, $settingsView = false) {
-               $optionList = $this->getOptions($objectTypeID, $category, $settingsView);
+               $optionList = $this->getOptions($objectTypeID, $category);
                
                $data = array(
                        'options' => $optionList,
@@ -363,11 +363,9 @@ class ACLHandler extends SingletonFactory {
         * 
         * @param       integer                                         $objectTypeID
         * @param       wcf\data\acl\option\category\ACLOptionCategory  $category
-        * @param       boolean                                         $settingsView
-        * @param       boolean                                         $settingsView
         * @return      wcf\data\acl\option\ACLOptionList
         */
-       public function getOptions($objectTypeID, ACLOptionCategory $category = null, $settingsView = false) {
+       public function getOptions($objectTypeID, ACLOptionCategory $category = null) {
                $optionList = new ACLOptionList();
                $optionList->sqlLimit = 0;
                if ($category !== null) {