Code style fixes
authorAlexander Ebert <ebert@woltlab.com>
Wed, 27 Jul 2016 10:21:19 +0000 (12:21 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 27 Jul 2016 10:21:27 +0000 (12:21 +0200)
wcfsetup/install/files/lib/data/box/content/BoxContent.class.php
wcfsetup/install/files/lib/data/box/content/BoxContentList.class.php
wcfsetup/install/files/lib/data/user/avatar/UserAvatarEditor.class.php

index 73a514a43db968fa12e7c1fa4389a92cb72d5d93..1280d3c5a9b5034c0c0ebe57944419f3c35e153f 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 namespace wcf\data\box\content;
-use wcf\data\DatabaseObject;
 use wcf\data\media\ViewableMedia;
+use wcf\data\DatabaseObject;
 use wcf\system\WCF;
 
 /**
index d56cd8195b5d54cacb73e9853af3da1496306478..97339892be21fec1ba867c1688fa413f60353320 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 namespace wcf\data\box\content;
-use wcf\data\DatabaseObjectList;
 use wcf\data\media\ViewableMediaList;
+use wcf\data\DatabaseObjectList;
 
 /**
  * Represents a list of box content.
index 2bfb99fd715b064ff4b278ab2eef7065a77ca634..4650b472a260389fe415e1073841b595b42a6d5d 100644 (file)
@@ -53,7 +53,8 @@ class UserAvatarEditor extends DatabaseObjectEditor {
         * Deletes avatar files.
         */
        public function deleteFiles() {
-               foreach (UserAvatar::$avatarThumbnailSizes as $size) { // delete wcf2.1 files
+               // delete wcf2.1 files
+               foreach (UserAvatar::$avatarThumbnailSizes as $size) {
                        if ($this->width < $size && $this->height < $size) break;
                        
                        @unlink($this->getLocation($size));