Removes trailing tabs and whitespaces
authorMatthias Schmidt <gravatronics@live.com>
Sun, 9 Dec 2012 14:05:45 +0000 (15:05 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 9 Dec 2012 14:05:45 +0000 (15:05 +0100)
21 files changed:
wcfsetup/install/files/lib/acp/form/MasterPasswordForm.class.php
wcfsetup/install/files/lib/acp/form/MasterPasswordInitForm.class.php
wcfsetup/install/files/lib/acp/page/ACPSessionLogPage.class.php
wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php
wcfsetup/install/files/lib/acp/page/CronjobLogListPage.class.php
wcfsetup/install/files/lib/acp/page/UpdateServerListPage.class.php
wcfsetup/install/files/lib/acp/page/UserGroupListPage.class.php
wcfsetup/install/files/lib/acp/page/UserListPage.class.php
wcfsetup/install/files/lib/data/DatabaseObject.class.php
wcfsetup/install/files/lib/data/language/LanguageEditor.class.php
wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemEditor.class.php
wcfsetup/install/files/lib/page/MultipleLinkPage.class.php
wcfsetup/install/files/lib/system/SingletonFactory.class.php
wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php
wcfsetup/install/files/lib/system/cache/builder/ACPMenuCacheBuilder.class.php
wcfsetup/install/files/lib/system/image/adapter/GDImageAdapter.class.php
wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php
wcfsetup/install/files/lib/system/language/LanguageFactory.class.php
wcfsetup/install/files/lib/system/package/PackageArchive.class.php
wcfsetup/install/files/lib/system/request/RouteHandler.class.php
wcfsetup/install/files/lib/system/session/SessionFactory.class.php

index 3df4d283fdd27e2f0ad328488312e79456cc9f47..246c988dd70b047bfb9aea36800d5c8f3b5eb8d0 100755 (executable)
@@ -31,7 +31,7 @@ class MasterPasswordForm extends ACPForm {
        
        /**
         * @see wcf\page\IPage::readParameters()
-        */     
+        */
        public function readParameters() {
                parent::readParameters();
                
index 4beeaa2ced8346b289b140f6b69ab919d8222dc6..833ec1b896e15ac58a45d5bd028105e4a6f5be4c 100755 (executable)
@@ -26,7 +26,7 @@ class MasterPasswordInitForm extends MasterPasswordForm {
        
        /**
         * @see wcf\page\IPage::readParameters()
-        */     
+        */
        public function readParameters() {
                parent::readParameters();
                
index 9703949f47186f76a6d28deefef50d7074fc0981..84657047f2bcd91312d0c4e8a1d4e3e51a54ce3a 100755 (executable)
@@ -79,7 +79,7 @@ class ACPSessionLogPage extends SortablePage {
        
        /**
         * @see wcf\page\MultipleLinkPage::readObjects()
-        */     
+        */
        protected function readObjects() {
                $this->sqlOrderBy = 'acp_session_access_log.'.$this->sortField." ".$this->sortOrder;
                
index 5e3ddaa0cc37593efe7e20a1e9b76d3a6532a5b2..2174125007829969d321193ace432afed97a0177 100755 (executable)
@@ -36,7 +36,7 @@ class CronjobListPage extends SortablePage {
        
        /**
         * @see wcf\page\MultipleLinkPage::initObjectList()
-        */     
+        */
        public function initObjectList() {
                parent::initObjectList();
                
index fab57cc15c7c6a3e53dac321cef85af78cdb37a6..a62d96d420cc8e48b3af61fd620a61f0433711f8 100755 (executable)
@@ -41,7 +41,7 @@ class CronjobLogListPage extends SortablePage {
        
        /**
         * @see wcf\page\MultipleLinkPage::$objectListClassName
-        */     
+        */
        public $objectListClassName = 'wcf\data\cronjob\log\CronjobLogList';
        
        /**
index c225e1d5617aa8e075b88d90efe525a70ae4aded..94e439181707a3f732cc4dcf06c93783e55ed67e 100755 (executable)
@@ -32,7 +32,7 @@ class UpdateServerListPage extends SortablePage {
        
        /**
         * @see wcf\page\MultipleLinkPage::$objectListClassName
-        */     
+        */
        public $objectListClassName = 'wcf\data\package\update\server\PackageUpdateServerList';
        
        /**
@@ -52,7 +52,7 @@ class UpdateServerListPage extends SortablePage {
        
        /**
         * @see wcf\page\MultipleLinkPage::readObjects()
-        */     
+        */
        public function readObjects() {
                $this->sqlOrderBy = ($this->sortField != 'packages' ? 'package_update_server.' : '') . $this->sortField.' '.$this->sortOrder;
                
index 68cd37c123903abafb0a57ce0ca78920e7f455e3..5a7ae2223939a19e979eb9063191214176802bba 100755 (executable)
@@ -32,7 +32,7 @@ class UserGroupListPage extends SortablePage {
        
        /**
         * @see wcf\page\MultipleLinkPage::$objectListClassName
-        */     
+        */
        public $objectListClassName = 'wcf\data\user\group\UserGroupList';
        
        /**
@@ -55,7 +55,7 @@ class UserGroupListPage extends SortablePage {
        
        /**
         * @see wcf\page\MultipleLinkPage::initObjectList()
-        */     
+        */
        protected function initObjectList() {
                parent::initObjectList();
                
index 99ecbbdae1a3b4e6479da406b6b31fa1fac81876..a16d12bb7c7d37ad772143b6f2c41b5a2e4040e4 100755 (executable)
@@ -343,11 +343,11 @@ class UserListPage extends SortablePage {
        
        /**
         * @see wcf\page\MultipleLinkPage::initObjectList()
-        */             
+        */
        protected function initObjectList() { }
        
        /**
         * @see wcf\page\MultipleLinkPage::readObjects()
-        */     
+        */
        protected function readObjects() { }
 }
index c1c2342a50b12727d4968c5f33c54b8f488ac858..c294d19244b5440e780c203140b3f2d719e82109 100644 (file)
@@ -22,7 +22,7 @@ abstract class DatabaseObject implements IStorableObject {
        /**
         * indicates if database table index is an identity column
         * @var boolean 
-        */     
+        */
        protected static $databaseTableIndexIsIdentity = true;
        
        /**
index c8624da09d5944e767ec173df77ce73ec383ac85..adec04b551c97fca86a872b9e3d8c215dfd12148 100644 (file)
@@ -54,7 +54,7 @@ class LanguageEditor extends DatabaseObjectEditor implements IEditableCachedObje
        /**
         * Write the languages files.
         * 
-        * @param       array<integer>          $languageCategoryIDs
+        * @param       array<integer>          $languageCategoryIDs
         */
        protected function writeLanguageFiles(array $languageCategoryIDs) {
                $conditions = new PreparedStatementConditionBuilder();
@@ -62,7 +62,7 @@ class LanguageEditor extends DatabaseObjectEditor implements IEditableCachedObje
                $conditions->add("languageCategoryID IN (?)", array($languageCategoryIDs));
                
                // get language items
-               $sql = "SELECT  languageItem, languageItemValue, languageCustomItemValue,
+               $sql = "SELECT  languageItem, languageItemValue, languageCustomItemValue,
                                languageUseCustomValue, languageCategoryID
                        FROM    wcf".WCF_N."_language_item
                        ".$conditions;
index dd76b18a49decd486666dcd6adde39314a8faaaa..39c1938e4286f64d7206d04cb9950ce7dd236821 100644 (file)
@@ -88,7 +88,7 @@ class PageMenuItemEditor extends DatabaseObjectEditor implements IEditableCached
                $sql = "UPDATE  wcf".WCF_N."_page_menu_item
                        SET     showOrder = ?,
                                menuPosition = ?
-                       WHERE   menuItemID = ?";
+                       WHERE   menuItemID = ?";
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute(array(
                        $showOrder,
@@ -136,8 +136,8 @@ class PageMenuItemEditor extends DatabaseObjectEditor implements IEditableCached
                }
                else {
                        $sql = "UPDATE  wcf".WCF_N."_page_menu_item
-                               SET     showOrder = showOrder - 1
-                               WHERE   showOrder >= ?
+                               SET     showOrder = showOrder - 1
+                               WHERE   showOrder >= ?
                                        AND menuPosition = ?";
                        $statement = WCF::getDB()->prepareStatement($sql);
                        $statement->execute(array(
@@ -145,9 +145,9 @@ class PageMenuItemEditor extends DatabaseObjectEditor implements IEditableCached
                                $this->menuPosition
                        ));
                                
-                       $sql = "UPDATE  wcf".WCF_N."_page_menu_item
-                               SET     showOrder = showOrder + 1
-                               WHERE   showOrder >= ?
+                       $sql = "UPDATE  wcf".WCF_N."_page_menu_item
+                               SET     showOrder = showOrder + 1
+                               WHERE   showOrder >= ?
                                        AND menuPosition = ?";
                        $statement = WCF::getDB()->prepareStatement($sql);
                        $statement->execute(array(
@@ -178,8 +178,8 @@ class PageMenuItemEditor extends DatabaseObjectEditor implements IEditableCached
                }
                else {
                        $sql = "UPDATE  wcf".WCF_N."_page_menu_item
-                               SET     showOrder = showOrder + 1
-                               WHERE   showOrder >= ?
+                               SET     showOrder = showOrder + 1
+                               WHERE   showOrder >= ?
                                        AND menuPosition = ?";
                        $statement = WCF::getDB()->prepareStatement($sql);
                        $statement->execute(array(
index a827223dc82407929c64240753a057f20d61d139..d109e41184a4ec1cd7780ec0b5939d11814013b6 100644 (file)
@@ -56,13 +56,13 @@ abstract class MultipleLinkPage extends AbstractPage {
        /**
         * DatabaseObjectList object
         * @var wcf\data\DatabaseObjectList
-        */     
+        */
        public $objectList = null;
        
        /**
         * class name for DatabaseObjectList
         * @var string
-        */     
+        */
        public $objectListClassName = '';
        
        /**
@@ -79,7 +79,7 @@ abstract class MultipleLinkPage extends AbstractPage {
        
        /**
         * @see wcf\data\DatabaseObjectList::$sqlLimit
-        */     
+        */
        public $sqlLimit = 0;
        
        /**
@@ -89,7 +89,7 @@ abstract class MultipleLinkPage extends AbstractPage {
        
        /**
         * @see wcf\data\DatabaseObjectList::$sqlOrderBy
-        */     
+        */
        public $sqlOrderBy = '';
        
        /**
index 2badbbdf72ae7db04ab0abffc8cc8d48eb9aa6d9..7621eb7e6392f7269611e03f548c4164ae3f9278 100644 (file)
@@ -29,7 +29,7 @@ abstract class SingletonFactory {
        
        /**
         * Called within __construct(), override if neccessary.
-        */     
+        */
        protected function init() { }
        
        /**
index fc3c2755f7634dea8083e02140d1e36bfac2e13a..3a6f94471ae45292b862d1e53424886519a65612 100644 (file)
@@ -19,7 +19,7 @@ class ApplicationHandler extends SingletonFactory {
        /**
         * application cache
         * @var array<array>
-        */     
+        */
        protected $cache = null;
        
        /**
index 70e88e281c992df97bbf76a8a35b4c05850a67ae..740433f4f6ca62515bceef39d3867ee58c385042 100644 (file)
@@ -105,7 +105,7 @@ class ACPMenuCacheBuilder implements ICacheBuilder {
                
                $conditions = new PreparedStatementConditionBuilder();
                $conditions->add("categoryID IN (?)", array($optionCategories));
-               $sql = "SELECT          categoryID, parentCategoryName, categoryName,
+               $sql = "SELECT          categoryID, parentCategoryName, categoryName,
                                        (
                                                SELECT COUNT(*) FROM wcf".WCF_N."_option WHERE categoryName = category.categoryName
                                        ) AS count
index b566157c22a80bbc5086c2143c179a26de61246f..ce5b08bb50b7d0a8f1954310bddd7760ff03cb13 100644 (file)
@@ -190,7 +190,7 @@ class GDImageAdapter implements IImageAdapter {
        
        /**
         * @see wcf\system\image\adapter\IImageAdapter::setColor()
-        */     
+        */
        public function setColor($red, $green, $blue) {
                $this->color = imageColorAllocate($this->image, $red, $green, $blue);
        }
@@ -230,7 +230,7 @@ class GDImageAdapter implements IImageAdapter {
        
        /**
         * @see wcf\system\image\adapter\IImageAdapter::getWidth()
-        */     
+        */
        public function getWidth() {
                return $this->width;
        }
@@ -251,7 +251,7 @@ class GDImageAdapter implements IImageAdapter {
        
        /**
         * @see wcf\system\image\adapter\IImageAdapter::isSupported()
-        */     
+        */
        public static function isSupported() {
                return true;
        }
index 6fe2bdcd395007aaf0ed5a051fa58b31b7ef2f4c..4a9734da9b6b6d15c08223e97203262b6666c2d4 100644 (file)
@@ -28,13 +28,13 @@ class ImagickImageAdapter implements IImageAdapter {
        /**
         * image height
         * @var integer
-        */     
+        */
        protected $height = 0;
        
        /**
         * image width
         * @var integer
-        */     
+        */
        protected $width = 0;
        
        /**
index de50b103f593534254f1b8da7678d805963fda9b..f25adb7000d116d4a042d9a1c089994afdf0685e 100644 (file)
@@ -144,7 +144,7 @@ class LanguageFactory extends SingletonFactory {
         * Returns a list of available language categories.
         * 
         * @return      array<wcf\data\language\category\LanguageCategory>
-        */     
+        */
        public function getCategories() {
                return $this->cache['categories'];
        }
index ffc83bad405e3d3c721107876b729a960934941b..e8dce442b31ff9f42fed5b756afdc9deaf1941ab 100644 (file)
@@ -71,7 +71,7 @@ class PackageArchive {
        /**
         * list of instructions
         * @var array<array>
-        */     
+        */
        protected $instructions = array(
                'install' => array(),
                'update' => array()
index 7f24d2b95c77e45e9c914e2f56be3f655626a8a2..8eed3bc8b9e498e1740b95ff2b7fab6d2d6fb1a0 100644 (file)
@@ -136,7 +136,7 @@ class RouteHandler extends SingletonFactory {
        
        /**
         * Registers route data within $_GET and $_REQUEST.
-        */     
+        */
        protected function registerRouteData() {
                foreach ($this->routeData as $key => $value) {
                        $_GET[$key] = $value;
index c9c2c4c9ccc4aefd58253acf43052e6c0e299a4a..de22e34e5f094c808faac67675c992c822c8510e 100644 (file)
@@ -15,12 +15,12 @@ use wcf\util\HeaderUtil;
 class SessionFactory extends ACPSessionFactory {
        /**
         * @see wcf\system\session\ACPSessionFactory::$sessionEditor
-        */     
+        */
        protected $sessionEditor = 'wcf\data\session\SessionEditor';
        
        /**
         * @see wcf\system\session\ACPSessionFactory::readSessionID()
-        */     
+        */
        protected function readSessionID() {
                $sessionID = parent::readSessionID();
                
@@ -34,7 +34,7 @@ class SessionFactory extends ACPSessionFactory {
        
        /**
         * @see wcf\system\session\ACPSessionFactory::init()
-        */     
+        */
        protected function init() {
                $usesCookies = true;