From: Marcel Werk Date: Tue, 15 Jan 2013 23:13:48 +0000 (+0100) Subject: Removed obsolete code X-Git-Tag: 2.0.0_Beta_1~563 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5956cac0656a4919a2ce18c0bf15a385f7a7504d;p=GitHub%2FWoltLab%2FWCF.git Removed obsolete code --- diff --git a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php index da508275f6..da3a17f87f 100644 --- a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php @@ -182,7 +182,6 @@ class StyleAddForm extends AbstractForm { $this->readStyleVariables(); $templateGroupList = new TemplateGroupList(); - $templateGroupList->sqlLimit = 0; $templateGroupList->sqlOrderBy = "template_group.templateGroupName ASC"; $templateGroupList->readObjects(); $this->availableTemplateGroups = $templateGroupList->getObjects(); diff --git a/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php b/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php index 51e13ab8ab..45a7f2a7a8 100644 --- a/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php @@ -110,7 +110,6 @@ class UserGroupOptionForm extends AbstractForm { if ($this->verifyPermissions($this->userGroupOption)) { // read all categories $categoryList = new UserGroupOptionCategoryList(); - $categoryList->sqlLimit = 0; $categoryList->readObjects(); $categories = array(); diff --git a/wcfsetup/install/files/lib/acp/page/ApplicationManagementPage.class.php b/wcfsetup/install/files/lib/acp/page/ApplicationManagementPage.class.php index ea70f6007b..68fd5848ff 100644 --- a/wcfsetup/install/files/lib/acp/page/ApplicationManagementPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/ApplicationManagementPage.class.php @@ -38,7 +38,6 @@ class ApplicationManagementPage extends AbstractPage { parent::readData(); $this->applicationList = new ViewableApplicationList(); - $this->applicationList->sqlLimit = 0; $this->applicationList->readObjects(); } diff --git a/wcfsetup/install/files/lib/data/acl/option/ACLOption.class.php b/wcfsetup/install/files/lib/data/acl/option/ACLOption.class.php index 5e1852634e..221f255e7a 100644 --- a/wcfsetup/install/files/lib/data/acl/option/ACLOption.class.php +++ b/wcfsetup/install/files/lib/data/acl/option/ACLOption.class.php @@ -32,7 +32,6 @@ class ACLOption extends DatabaseObject { public static function getOptions($objectTypeID) { $optionList = new ACLOptionList(); $optionList->getConditionBuilder()->add("acl_option.objectTypeID = ?", array($objectTypeID)); - $optionList->sqlLimit = 0; $optionList->readObjects(); return $optionList; diff --git a/wcfsetup/install/files/lib/data/cronjob/CronjobEditor.class.php b/wcfsetup/install/files/lib/data/cronjob/CronjobEditor.class.php index 2d94b26523..dc215363d0 100644 --- a/wcfsetup/install/files/lib/data/cronjob/CronjobEditor.class.php +++ b/wcfsetup/install/files/lib/data/cronjob/CronjobEditor.class.php @@ -69,7 +69,6 @@ class CronjobEditor extends DatabaseObjectEditor implements IEditableCachedObjec $languageCategory = $statement->fetchObject('wcf\data\language\category\LanguageCategory'); $languages = new LanguageList(); - $languages->sqlLimit = 0; $languages->readObjects(); } else { diff --git a/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php b/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php index 3e816a24cf..47eaa25df5 100644 --- a/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php +++ b/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php @@ -225,7 +225,6 @@ class LanguageEditor extends DatabaseObjectEditor implements IEditableCachedObje $itemList = new LanguageItemList(); $itemList->getConditionBuilder()->add("language_item.languageItem IN (?)", array(array_keys($items))); $itemList->getConditionBuilder()->add("language_item.languageID = ?", array($this->languageID)); - $itemList->sqlLimit = 0; $itemList->readObjects(); foreach ($itemList->getObjects() as $languageItem) { @@ -444,7 +443,6 @@ class LanguageEditor extends DatabaseObjectEditor implements IEditableCachedObje $languageItemList = new LanguageItemList(); $languageItemList->getConditionBuilder()->add("language_item.languageItem IN (?)", array(array_keys($items))); $languageItemList->getConditionBuilder()->add("languageID = ?", array($this->languageID)); - $languageItemList->sqlLimit = 0; $languageItemList->readObjects(); foreach ($languageItemList->getObjects() as $languageItem) { diff --git a/wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProvider.class.php b/wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProvider.class.php index 90dfd2e21b..b492b25c54 100644 --- a/wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProvider.class.php +++ b/wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProvider.class.php @@ -54,7 +54,6 @@ abstract class AbstractObjectTypeProvider implements IObjectTypeProvider { $objectList->decoratorClassName = $this->decoratorClassName; } $objectList->getConditionBuilder()->add($tableAlias.".".$tableIndex." IN (?)", array($objectIDs)); - $objectList->sqlLimit = 0; $objectList->readObjects(); return $objectList->getObjects(); diff --git a/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php b/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php index 8d0d8531f9..8ef1fc1ecd 100644 --- a/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php +++ b/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php @@ -32,7 +32,6 @@ class PackageUpdateServer extends DatabaseObject { */ public static function getActiveUpdateServers(array $packageUpdateServerIDs = array()) { $list = new PackageUpdateServerList(); - $list->sqlLimit = 0; $list->getConditionBuilder()->add("isDisabled = ?", array(0)); if (!empty($packageUpdateServerIDs)) { $list->getConditionBuilder()->add("packageUpdateServerID IN (?)", array($packageUpdateServerIDs)); diff --git a/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php b/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php index 34b0aef31c..5ab631ed8a 100644 --- a/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php +++ b/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php @@ -100,7 +100,6 @@ class PageMenuItemAction extends AbstractDatabaseObjectAction implements ISortab $menuItemList = new PageMenuItemList(); $menuItemList->getConditionBuilder()->add("page_menu_item.menuItemID IN (?)", array($menuItemIDs)); $menuItemList->getConditionBuilder()->add("page_menu_item.menuPosition = ?", array($this->parameters['menuPosition'])); - $menuItemList->sqlLimit = 0; $menuItemList->readObjects(); $this->menuItems = $menuItemList->getObjects(); diff --git a/wcfsetup/install/files/lib/data/style/StyleEditor.class.php b/wcfsetup/install/files/lib/data/style/StyleEditor.class.php index f2201ecc3c..44f8f8b400 100644 --- a/wcfsetup/install/files/lib/data/style/StyleEditor.class.php +++ b/wcfsetup/install/files/lib/data/style/StyleEditor.class.php @@ -554,7 +554,6 @@ class StyleEditor extends DatabaseObjectEditor implements IEditableCachedObject // get language list $languageList = new LanguageList(); - $languageList->sqlLimit = 0; $languageList->readObjects(); // workaround for WCFSetup diff --git a/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php b/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php index 54600040d9..fe2ccec302 100644 --- a/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php +++ b/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php @@ -143,7 +143,6 @@ class UserGroupEditor extends DatabaseObjectEditor implements IEditableCachedObj } $userGroupList = new UserGroupList(); - $userGroupList->sqlLimit = 0; $userGroupList->readObjects(); foreach ($userGroupList as $userGroup) { $groupIDs[] = $userGroup->groupID; diff --git a/wcfsetup/install/files/lib/system/acl/ACLHandler.class.php b/wcfsetup/install/files/lib/system/acl/ACLHandler.class.php index f65df3e961..87ea4e5c93 100644 --- a/wcfsetup/install/files/lib/system/acl/ACLHandler.class.php +++ b/wcfsetup/install/files/lib/system/acl/ACLHandler.class.php @@ -263,7 +263,6 @@ class ACLHandler extends SingletonFactory { // load categories $categoryList = new ACLOptionCategoryList(); - $categoryList->sqlLimit = 0; $categoryList->getConditionBuilder()->add("acl_option_category.categoryName IN (?)", array($categoryNames)); $categoryList->getConditionBuilder()->add("acl_option_category.objectTypeID = ?", array($objectTypeID)); $categoryList->readObjects(); @@ -367,7 +366,6 @@ class ACLHandler extends SingletonFactory { */ public function getOptions($objectTypeID, ACLOptionCategory $category = null) { $optionList = new ACLOptionList(); - $optionList->sqlLimit = 0; if ($category !== null) { $optionList->getConditionBuilder()->add("acl_option.categoryName = ?", array($category->categoryName)); } diff --git a/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php b/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php index 3a6f94471a..045922725e 100644 --- a/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php +++ b/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php @@ -171,7 +171,6 @@ class ApplicationHandler extends SingletonFactory { */ public static function rebuild() { $applicationList = new ApplicationList(); - $applicationList->sqlLimit = 0; $applicationList->readObjects(); $applicationAction = new ApplicationAction($applicationList->getObjects(), 'rebuild'); diff --git a/wcfsetup/install/files/lib/system/cache/builder/ACLOptionCategoryCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/ACLOptionCategoryCacheBuilder.class.php index 18144ea031..4b6bf9df59 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/ACLOptionCategoryCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/ACLOptionCategoryCacheBuilder.class.php @@ -18,7 +18,6 @@ class ACLOptionCategoryCacheBuilder implements ICacheBuilder { */ public function getData(array $cacheResource) { $list = new ACLOptionCategoryList(); - $list->sqlLimit = 0; $list->readObjects(); $data = array(); diff --git a/wcfsetup/install/files/lib/system/cache/builder/ACPMenuCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/ACPMenuCacheBuilder.class.php index 96818fe1fa..829971ac14 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/ACPMenuCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/ACPMenuCacheBuilder.class.php @@ -38,7 +38,6 @@ class ACPMenuCacheBuilder implements ICacheBuilder { // get "real" menu items $menuItemList = new ACPMenuItemList(); - $menuItemList->sqlLimit = 0; $menuItemList->readObjects(); foreach ($menuItemList as $menuItem) { $data[$menuItem->parentMenuItem][] = $menuItem; @@ -67,7 +66,6 @@ class ACPMenuCacheBuilder implements ICacheBuilder { */ protected function getTopOptionCategories() { $optionCategoryList = new OptionCategoryList(); - $optionCategoryList->sqlLimit = 0; $optionCategoryList->readObjects(); $optionCategories = $optionCategoryList->getObjects(); @@ -82,7 +80,6 @@ class ACPMenuCacheBuilder implements ICacheBuilder { } $optionList = new OptionList(); - $optionList->sqlLimit = 0; $optionList->readObjects(); // collect names of categories which contain options diff --git a/wcfsetup/install/files/lib/system/cache/builder/ACPSearchProviderCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/ACPSearchProviderCacheBuilder.class.php index 3ad498985e..1ceefce60d 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/ACPSearchProviderCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/ACPSearchProviderCacheBuilder.class.php @@ -18,7 +18,6 @@ class ACPSearchProviderCacheBuilder implements ICacheBuilder { */ public function getData(array $cacheResource) { $providerList = new ACPSearchProviderList(); - $providerList->sqlLimit = 0; $providerList->sqlOrderBy = "acp_search_provider.showOrder ASC"; $providerList->readObjects(); diff --git a/wcfsetup/install/files/lib/system/cache/builder/ApplicationCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/ApplicationCacheBuilder.class.php index 79a83e65a8..d5cefaa718 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/ApplicationCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/ApplicationCacheBuilder.class.php @@ -28,7 +28,6 @@ class ApplicationCacheBuilder implements ICacheBuilder { // fetch applications $applicationList = new ApplicationList(); - $applicationList->sqlLimit = 0; $applicationList->readObjects(); $applications = $applicationList->getObjects(); diff --git a/wcfsetup/install/files/lib/system/cache/builder/CategoryCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/CategoryCacheBuilder.class.php index 8548acdd8d..2616eeaf32 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/CategoryCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/CategoryCacheBuilder.class.php @@ -18,7 +18,6 @@ class CategoryCacheBuilder implements ICacheBuilder { */ public function getData(array $cacheResource) { $list = new CategoryList(); - $list->sqlLimit = 0; $list->sqlSelects = "object_type.objectType"; $list->sqlJoins = "LEFT JOIN wcf".WCF_N."_object_type object_type ON (object_type.objectTypeID = category.objectTypeID)"; $list->sqlOrderBy = "category.showOrder ASC"; diff --git a/wcfsetup/install/files/lib/system/cache/builder/ClipboardActionCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/ClipboardActionCacheBuilder.class.php index c1070610ba..53550d6ec5 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/ClipboardActionCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/ClipboardActionCacheBuilder.class.php @@ -18,7 +18,6 @@ class ClipboardActionCacheBuilder implements ICacheBuilder { */ public function getData(array $cacheResource) { $actionList = new ClipboardActionList(); - $actionList->sqlLimit = 0; $actionList->readObjects(); return $actionList->getObjects(); diff --git a/wcfsetup/install/files/lib/system/cache/builder/CoreObjectCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/CoreObjectCacheBuilder.class.php index 7b4eeae579..36ae1b99c1 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/CoreObjectCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/CoreObjectCacheBuilder.class.php @@ -20,7 +20,6 @@ class CoreObjectCacheBuilder implements ICacheBuilder { $data = array(); $coreObjectList = new CoreObjectList(); - $coreObjectList->sqlLimit = 0; $coreObjectList->readObjects(); $coreObjects = $coreObjectList->getObjects(); diff --git a/wcfsetup/install/files/lib/system/cache/builder/LanguageCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/LanguageCacheBuilder.class.php index 4d90825e2f..5dbbd6ab2d 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/LanguageCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/LanguageCacheBuilder.class.php @@ -32,7 +32,6 @@ class LanguageCacheBuilder implements ICacheBuilder { // get languages $languageList = new LanguageList(); - $languageList->sqlLimit = 0; $languageList->readObjects(); $data['languages'] = $languageList->getObjects(); foreach ($languageList->getObjects() as $language) { @@ -52,7 +51,6 @@ class LanguageCacheBuilder implements ICacheBuilder { // get language categories $languageCategoryList = new LanguageCategoryList(); - $languageCategoryList->sqlLimit = 0; $languageCategoryList->readObjects(); foreach ($languageCategoryList->getObjects() as $languageCategory) { $data['categories'][$languageCategory->languageCategory] = $languageCategory; diff --git a/wcfsetup/install/files/lib/system/cache/builder/PackageCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/PackageCacheBuilder.class.php index 2d868a5f1d..42a71db69c 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/PackageCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/PackageCacheBuilder.class.php @@ -23,7 +23,6 @@ class PackageCacheBuilder implements ICacheBuilder { ); $packageList = new PackageList(); - $packageList->sqlLimit = 0; $packageList->readObjects(); foreach ($packageList as $package) { diff --git a/wcfsetup/install/files/lib/system/cache/builder/SitemapCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/SitemapCacheBuilder.class.php index ddfb3f7369..53fb8b7f6f 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/SitemapCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/SitemapCacheBuilder.class.php @@ -18,7 +18,6 @@ class SitemapCacheBuilder implements ICacheBuilder { */ public function getData(array $cacheResource) { $sitemapList = new SitemapList(); - $sitemapList->sqlLimit = 0; $sitemapList->sqlOrderBy = "sitemap.showOrder ASC"; $sitemapList->readObjects(); diff --git a/wcfsetup/install/files/lib/system/cache/builder/SpiderCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/SpiderCacheBuilder.class.php index a0b99731f4..b3967f3619 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/SpiderCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/SpiderCacheBuilder.class.php @@ -19,7 +19,6 @@ class SpiderCacheBuilder implements ICacheBuilder { public function getData(array $cacheResource) { $spiderList = new SpiderList(); $spiderList->sqlOrderBy = "spider.spiderID ASC"; - $spiderList->sqlLimit = 0; $spiderList->readObjects(); return $spiderList->getObjects(); diff --git a/wcfsetup/install/files/lib/system/cache/builder/TemplateGroupCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/TemplateGroupCacheBuilder.class.php index 58d886760e..2f67519091 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/TemplateGroupCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/TemplateGroupCacheBuilder.class.php @@ -18,7 +18,6 @@ class TemplateGroupCacheBuilder implements ICacheBuilder { */ public function getData(array $cacheResource) { $templateGroupList = new TemplateGroupList(); - $templateGroupList->sqlLimit = 0; $templateGroupList->readObjects(); return $templateGroupList->getObjects(); diff --git a/wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCacheBuilder.class.php index 90d357c874..624885670f 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCacheBuilder.class.php @@ -22,7 +22,6 @@ class TemplateListenerCacheBuilder implements ICacheBuilder { // get templates for current package id $templateListenerList = new TemplateListenerList(); $templateListenerList->getConditionBuilder()->add("template_listener.environment = ?", array($environment)); - $templateListenerList->sqlLimit = 0; $templateListenerList->readObjects(); $data = array(); diff --git a/wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCodeCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCodeCacheBuilder.class.php index dd264a9a88..19328b9594 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCodeCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCodeCacheBuilder.class.php @@ -23,7 +23,6 @@ class TemplateListenerCodeCacheBuilder implements ICacheBuilder { $templateListenerList = new TemplateListenerList(); $templateListenerList->getConditionBuilder()->add("template_listener.environment = ?", array($environment)); $templateListenerList->getConditionBuilder()->add("template_listener.templateName = ?", array($templateName)); - $templateListenerList->sqlLimit = 0; $templateListenerList->readObjects(); $data = array(); diff --git a/wcfsetup/install/files/lib/system/cache/builder/UserGroupCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/UserGroupCacheBuilder.class.php index a5aeee28b8..867ab476b8 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/UserGroupCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/UserGroupCacheBuilder.class.php @@ -24,7 +24,6 @@ class UserGroupCacheBuilder implements ICacheBuilder { // get all user groups $groupList = new UserGroupList(); - $groupList->sqlLimit = 0; $groupList->readObjects(); $groups = $groupList->getObjects(); diff --git a/wcfsetup/install/files/lib/system/clipboard/ClipboardHandler.class.php b/wcfsetup/install/files/lib/system/clipboard/ClipboardHandler.class.php index fa0b398299..436039444e 100644 --- a/wcfsetup/install/files/lib/system/clipboard/ClipboardHandler.class.php +++ b/wcfsetup/install/files/lib/system/clipboard/ClipboardHandler.class.php @@ -224,7 +224,6 @@ class ClipboardHandler extends SingletonFactory { foreach ($data as $objectType => $objectData) { $objectList = new $objectData['className'](); $objectList->getConditionBuilder()->add($objectList->getDatabaseTableAlias() . "." . $objectList->getDatabaseTableIndexName() . " IN (?)", array($objectData['objectIDs'])); - $objectList->sqlLimit = 0; $objectList->readObjects(); $this->markedItems[$objectType] = $objectList->getObjects(); diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php index f297fc5f17..daff3c45a9 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php @@ -343,7 +343,6 @@ class PackageInstallationDispatcher { // get language list $languageList = new LanguageList(); - $languageList->sqlLimit = 0; $languageList->readObjects(); // workaround for WCFSetup diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php index 7f440f850f..f1e1b3b89c 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php @@ -583,7 +583,6 @@ class PackageInstallationNodeBuilder { $queueList = new PackageInstallationQueueList(); $queueList->getConditionBuilder()->add("package_installation_queue.parentQueueID = ?", array($this->installation->queue->queueID)); $queueList->getConditionBuilder()->add("package_installation_queue.queueID NOT IN (SELECT queueID FROM wcf".WCF_N."_package_installation_node)"); - $queueList->sqlLimit = 0; $queueList->readObjects(); foreach ($queueList as $queue) { diff --git a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php index d577f2205f..032fd567c5 100644 --- a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php @@ -248,7 +248,6 @@ abstract class PackageUpdateDispatcher { $existingPackages = array(); $packageUpdateList = new PackageUpdateList(); $packageUpdateList->getConditionBuilder()->add("package_update.packageUpdateServerID = ? AND package_update.package IN (?)", array($packageUpdateServerID, array_keys($allNewPackages))); - $packageUpdateList->sqlLimit = 0; $packageUpdateList->readObjects(); $tmp = $packageUpdateList->getObjects(); @@ -268,7 +267,6 @@ abstract class PackageUpdateDispatcher { // get version list $versionList = new PackageUpdateVersionList(); $versionList->getConditionBuilder()->add("package_update_version.packageUpdateID IN (?)", array($packageUpdateIDs)); - $versionList->sqlLimit = 0; $versionList->readObjects(); $tmp = $versionList->getObjects(); diff --git a/wcfsetup/install/files/lib/system/package/plugin/StylePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/StylePackageInstallationPlugin.class.php index 1362242a0b..d149d5b8de 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/StylePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/StylePackageInstallationPlugin.class.php @@ -52,7 +52,6 @@ class StylePackageInstallationPlugin extends AbstractPackageInstallationPlugin { $isDefault = false; $styleList = new StyleList(); $styleList->getConditionBuilder()->add("packageID = ?", array($this->installation->getPackageID())); - $styleList->sqlLimit = 0; $styleList->readObjects(); foreach ($styleList->getObjects() as $style) { diff --git a/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php index f75180033d..31508e84db 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php @@ -167,7 +167,6 @@ class UserGroupOptionPackageInstallationPlugin extends AbstractOptionPackageInst protected static function getAdminGroupIDs() { if (empty(self::$adminGroupIDs)) { $userGroupList = new UserGroupList(); - $userGroupList->sqlLimit = 0; $userGroupList->readObjects(); foreach ($userGroupList as $userGroup) { diff --git a/wcfsetup/install/files/lib/system/search/acp/AbstractCategorizedACPSearchResultProvider.class.php b/wcfsetup/install/files/lib/system/search/acp/AbstractCategorizedACPSearchResultProvider.class.php index 65ba107b24..f7e7a6b229 100644 --- a/wcfsetup/install/files/lib/system/search/acp/AbstractCategorizedACPSearchResultProvider.class.php +++ b/wcfsetup/install/files/lib/system/search/acp/AbstractCategorizedACPSearchResultProvider.class.php @@ -94,7 +94,6 @@ abstract class AbstractCategorizedACPSearchResultProvider extends AbstractACPSea // read categories $categoryList = new $this->listClassName(); - $categoryList->sqlLimit = 0; $categoryList->readObjects(); foreach ($categoryList as $category) {