Removed obsolete code
authorMarcel Werk <burntime@woltlab.com>
Tue, 15 Jan 2013 23:13:48 +0000 (00:13 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 15 Jan 2013 23:13:48 +0000 (00:13 +0100)
35 files changed:
wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php
wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php
wcfsetup/install/files/lib/acp/page/ApplicationManagementPage.class.php
wcfsetup/install/files/lib/data/acl/option/ACLOption.class.php
wcfsetup/install/files/lib/data/cronjob/CronjobEditor.class.php
wcfsetup/install/files/lib/data/language/LanguageEditor.class.php
wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProvider.class.php
wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php
wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php
wcfsetup/install/files/lib/data/style/StyleEditor.class.php
wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php
wcfsetup/install/files/lib/system/acl/ACLHandler.class.php
wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php
wcfsetup/install/files/lib/system/cache/builder/ACLOptionCategoryCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/ACPMenuCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/ACPSearchProviderCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/ApplicationCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/CategoryCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/ClipboardActionCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/CoreObjectCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/LanguageCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/PackageCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/SitemapCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/SpiderCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/TemplateGroupCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCodeCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/UserGroupCacheBuilder.class.php
wcfsetup/install/files/lib/system/clipboard/ClipboardHandler.class.php
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php
wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php
wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php
wcfsetup/install/files/lib/system/package/plugin/StylePackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/search/acp/AbstractCategorizedACPSearchResultProvider.class.php

index da508275f6945b3fb1923b227c0dddd25a554cf4..da3a17f87fb10d0c3d5eb9ff040ad0939925476e 100644 (file)
@@ -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();
index 51e13ab8ab3f9b7492969aeb4f82d9012f097183..45a7f2a7a834fbdb5c558301d7ebf74edce081ec 100644 (file)
@@ -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();
index ea70f6007b8d3e4225cc5ef3c0cd372b42edcebb..68fd5848ff8b458af38322dff06fbac1d5f8555e 100644 (file)
@@ -38,7 +38,6 @@ class ApplicationManagementPage extends AbstractPage {
                parent::readData();
                
                $this->applicationList = new ViewableApplicationList();
-               $this->applicationList->sqlLimit = 0;
                $this->applicationList->readObjects();
        }
        
index 5e1852634e6834eaee74084c69060225ac1245a8..221f255e7ac0db0129b34da7ee7580a68ce13c03 100644 (file)
@@ -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;
index 2d94b265231c1e9e6f21eb91e35ab234fa89cdfd..dc215363d0389cbe3fb2ec28fcec284a387250c8 100644 (file)
@@ -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 {
index 3e816a24cfa5e50ef8f71fc3c7b99da96fb2c29e..47eaa25df546ca5abeab49c6aeceea4dc9fdd0cc 100644 (file)
@@ -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) {
index 90dfd2e21bd4e24f2c8f1fb802531542811b4642..b492b25c5448c1af9f947e7a49bfe1cb2d235a67 100644 (file)
@@ -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();
index 8d0d8531f9262d538835e02c7f3ca3e40ddf6548..8ef1fc1ecdacd4fd4dba13339209aa1fa35e8528 100644 (file)
@@ -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));
index 34b0aef31cb95f1f942c06eeda1d369879b8bd7a..5ab631ed8a4b032ff2364d7d47f4ab133b71c542 100644 (file)
@@ -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();
                
index f2201ecc3c55889d810c2042592636f06854a949..44f8f8b4008b34cd57b288ce5af281ec88826f90 100644 (file)
@@ -554,7 +554,6 @@ class StyleEditor extends DatabaseObjectEditor implements IEditableCachedObject
                
                // get language list
                $languageList = new LanguageList();
-               $languageList->sqlLimit = 0;
                $languageList->readObjects();
                
                // workaround for WCFSetup
index 54600040d9323bd695b34e01ec248f8bc848887c..fe2ccec302ed65e6cf556ebbb442d62e72de724e 100644 (file)
@@ -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;
index f65df3e96150035350979103c2ef393a2b7d9214..87ea4e5c93d09608464653923946bc841e97d3b5 100644 (file)
@@ -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));
                }
index 3a6f94471ae45292b862d1e53424886519a65612..045922725e58725d7344aac466fe160d470debfd 100644 (file)
@@ -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');
index 18144ea031198c47328b208733a78c19d5f10cc0..4b6bf9df599bfaedf613abc770705bebccdd2d64 100644 (file)
@@ -18,7 +18,6 @@ class ACLOptionCategoryCacheBuilder implements ICacheBuilder {
         */
        public function getData(array $cacheResource) {
                $list = new ACLOptionCategoryList();
-               $list->sqlLimit = 0;
                $list->readObjects();
                
                $data = array();
index 96818fe1fa55556323fc9abe3ac46aac7f9928ed..829971ac149b84b0f1e7398c4ca821f2319e3227 100644 (file)
@@ -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
index 3ad498985ee70487d4b47597bf7fd1d34bfb72ce..1ceefce60d6e9e5794804beb95d6fded3ae7e5ad 100644 (file)
@@ -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();
                
index 79a83e65a8a8be5796129d68da6a1ad9ac3080f0..d5cefaa718b8d6ddf8f2ed677fc2dbdccf27da38 100644 (file)
@@ -28,7 +28,6 @@ class ApplicationCacheBuilder implements ICacheBuilder {
                
                // fetch applications
                $applicationList = new ApplicationList();
-               $applicationList->sqlLimit = 0;
                $applicationList->readObjects();
                $applications = $applicationList->getObjects();
                
index 8548acdd8d4162fe1d4e2d7a54fb3cf252f4a524..2616eeaf3253671d0f187205295d8c267c0dd718 100644 (file)
@@ -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";
index c1070610ba9f7588958b414c7309e75626b26cfe..53550d6ec5f4a9d9356c253b68ca5f3eedd7b3c0 100644 (file)
@@ -18,7 +18,6 @@ class ClipboardActionCacheBuilder implements ICacheBuilder {
         */
        public function getData(array $cacheResource) {
                $actionList = new ClipboardActionList();
-               $actionList->sqlLimit = 0;
                $actionList->readObjects();
                
                return $actionList->getObjects();
index 7b4eeae579fb037952a0332e951d58236f2082f8..36ae1b99c1beba3aaf26dce27b6059d71c107145 100644 (file)
@@ -20,7 +20,6 @@ class CoreObjectCacheBuilder implements ICacheBuilder {
                $data = array();
                
                $coreObjectList = new CoreObjectList();
-               $coreObjectList->sqlLimit = 0;
                $coreObjectList->readObjects();
                $coreObjects = $coreObjectList->getObjects();
                
index 4d90825e2f620791ec47bec42a3b969c95dd8091..5dbbd6ab2dfa782e9d229024e9c62cda4d0dec35 100644 (file)
@@ -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;
index 2d868a5f1ddf06a78c7cfde4239f033a15fffea6..42a71db69cf9e29b28de8f1cd4c24ea29f5edb2a 100644 (file)
@@ -23,7 +23,6 @@ class PackageCacheBuilder implements ICacheBuilder {
                );
                
                $packageList = new PackageList();
-               $packageList->sqlLimit = 0;
                $packageList->readObjects();
                
                foreach ($packageList as $package) {
index ddfb3f73692c25a19e3d5d8358888fbebb1ab6ba..53fb8b7f6fdf5be56b511cab7770f6780382ce8e 100644 (file)
@@ -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();
                
index a0b99731f4ec5cfb1fb2839bc79010cf421fc589..b3967f3619c81da241d3f34f357315e0ebb773d9 100644 (file)
@@ -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();
index 58d886760ef9353bd339a97ecb01e85574e986aa..2f675190915f89ef84d93e4c825f00e19f97970c 100644 (file)
@@ -18,7 +18,6 @@ class TemplateGroupCacheBuilder implements ICacheBuilder {
         */
        public function getData(array $cacheResource) {
                $templateGroupList = new TemplateGroupList();
-               $templateGroupList->sqlLimit = 0;
                $templateGroupList->readObjects();
                
                return $templateGroupList->getObjects();
index 90d357c874e99df3eed33879a83b324982fa9053..624885670f685e695f1ac1d837c34fd0ca94a1a6 100644 (file)
@@ -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();
index dd264a9a88bcf76ea032359ee7ebb5ff9dda9786..19328b959410ced9881c2ba65ea3790d3d33ce3f 100644 (file)
@@ -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();
index a5aeee28b818b62b9f995f5fb2c2406d4bab2cfd..867ab476b80c5f51776bb86e61ef7c13133aa480 100644 (file)
@@ -24,7 +24,6 @@ class UserGroupCacheBuilder implements ICacheBuilder {
                
                // get all user groups
                $groupList = new UserGroupList();
-               $groupList->sqlLimit = 0;
                $groupList->readObjects();
                $groups = $groupList->getObjects();
                
index fa0b39829960486d1f6d5c1f7f8c89a456b0d131..436039444e51c272b7d3851423585fed12f68a7b 100644 (file)
@@ -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();
index f297fc5f1785be4e83846d40a4614586b5fe9f24..daff3c45a9ba18bb82fc3c6139d4286d8c7e6254 100644 (file)
@@ -343,7 +343,6 @@ class PackageInstallationDispatcher {
                
                // get language list
                $languageList = new LanguageList();
-               $languageList->sqlLimit = 0;
                $languageList->readObjects();
                
                // workaround for WCFSetup
index 7f440f850f02c9bd80402f8b47b33579831b5f53..f1e1b3b89c42345a845633853cde219a047d62d5 100644 (file)
@@ -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) {
index d577f2205fd9857ad5030332a561ecacafd4b2ae..032fd567c57e3427dc83941b3c3903699418d811 100644 (file)
@@ -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();
                        
index 1362242a0b3160d56c7d977cc3a93b191bb44e44..d149d5b8de6f3774d68912f4535dc03b89acecc1 100644 (file)
@@ -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) {
index f75180033d9edf9ec29386270e3e3209bbec4c1b..31508e84db4ba89088ffa58a1383d2cdf1c50bf4 100644 (file)
@@ -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) {
index 65ba107b2449ce2f71bc5116c62176766eaf0438..f7e7a6b229b28e0b647d56d9ecc8f0add33897e1 100644 (file)
@@ -94,7 +94,6 @@ abstract class AbstractCategorizedACPSearchResultProvider extends AbstractACPSea
                
                // read categories
                $categoryList = new $this->listClassName();
-               $categoryList->sqlLimit = 0;
                $categoryList->readObjects();
                
                foreach ($categoryList as $category) {