aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/avatar
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-02-19 12:30:14 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-02-19 12:30:14 +0100
commita9e0aea4b1587ac5ff6c94d2dc7e4d05c304423d (patch)
tree8c50f175e939eba3cc0419e92df80802b69ac96d /phpBB/includes/avatar
parent2302cd7a42004b288c5f6be6d0e4b63fe363a983 (diff)
downloadforums-a9e0aea4b1587ac5ff6c94d2dc7e4d05c304423d.tar
forums-a9e0aea4b1587ac5ff6c94d2dc7e4d05c304423d.tar.gz
forums-a9e0aea4b1587ac5ff6c94d2dc7e4d05c304423d.tar.bz2
forums-a9e0aea4b1587ac5ff6c94d2dc7e4d05c304423d.tar.xz
forums-a9e0aea4b1587ac5ff6c94d2dc7e4d05c304423d.zip
[feature/avatars] Remove trailing whitespace from avatar code
PHPBB3-10018
Diffstat (limited to 'phpBB/includes/avatar')
-rw-r--r--phpBB/includes/avatar/driver/gravatar.php4
-rw-r--r--phpBB/includes/avatar/driver/interface.php10
-rw-r--r--phpBB/includes/avatar/driver/local.php2
3 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/includes/avatar/driver/gravatar.php b/phpBB/includes/avatar/driver/gravatar.php
index 5f4cfcebc6..2e2ae2071f 100644
--- a/phpBB/includes/avatar/driver/gravatar.php
+++ b/phpBB/includes/avatar/driver/gravatar.php
@@ -37,7 +37,7 @@ class phpbb_avatar_driver_gravatar extends phpbb_avatar_driver
'height' => $row['avatar_height'],
);
}
-
+
/**
* @inheritdoc
*/
@@ -126,7 +126,7 @@ class phpbb_avatar_driver_gravatar extends phpbb_avatar_driver
$error[] = 'AVATAR_NO_SIZE';
return false;
}
-
+
if ($this->config['avatar_max_width'] || $this->config['avatar_max_height'])
{
if ($row['avatar_width'] > $this->config['avatar_max_width'] || $row['avatar_height'] > $this->config['avatar_max_height'])
diff --git a/phpBB/includes/avatar/driver/interface.php b/phpBB/includes/avatar/driver/interface.php
index 6ceb48ad10..3d62969aef 100644
--- a/phpBB/includes/avatar/driver/interface.php
+++ b/phpBB/includes/avatar/driver/interface.php
@@ -31,7 +31,7 @@ interface phpbb_avatar_driver_interface
/**
* Get the avatar url and dimensions
*
- * @param array $row User data or group data that has been cleaned with
+ * @param array $row User data or group data that has been cleaned with
* phpbb_avatar_manager::clean_row
* @return array Avatar data, must have keys src, width and height, e.g.
* ['src' => '', 'width' => 0, 'height' => 0]
@@ -42,7 +42,7 @@ interface phpbb_avatar_driver_interface
* Returns custom html if it is needed for displaying this avatar
*
* @param phpbb_user $user phpBB user object
- * @param array $row User data or group data that has been cleaned with
+ * @param array $row User data or group data that has been cleaned with
* phpbb_avatar_manager::clean_row
* @param string $alt Alternate text for avatar image
*
@@ -56,7 +56,7 @@ interface phpbb_avatar_driver_interface
* @param phpbb_request $request Request object
* @param phpbb_template $template Template object
* @param phpbb_user $user User object
- * @param array $row User data or group data that has been cleaned with
+ * @param array $row User data or group data that has been cleaned with
* phpbb_avatar_manager::clean_row
* @param array &$error Reference to an error array that is filled by this
* function. Key values can either be a string with a language key or
@@ -84,7 +84,7 @@ interface phpbb_avatar_driver_interface
* @param phpbb_request $request Request object
* @param phpbb_template $template Template object
* @param phpbb_user $user User object
- * @param array $row User data or group data that has been cleaned with
+ * @param array $row User data or group data that has been cleaned with
* phpbb_avatar_manager::clean_row
* @param array &$error Reference to an error array that is filled by this
* function. Key values can either be a string with a language key or
@@ -99,7 +99,7 @@ interface phpbb_avatar_driver_interface
/**
* Delete avatar
*
- * @param array $row User data or group data that has been cleaned with
+ * @param array $row User data or group data that has been cleaned with
* phpbb_avatar_manager::clean_row
*
* @return bool True if avatar has been deleted or there is no need to delete,
diff --git a/phpBB/includes/avatar/driver/local.php b/phpBB/includes/avatar/driver/local.php
index 693a0ede47..7237c745d6 100644
--- a/phpBB/includes/avatar/driver/local.php
+++ b/phpBB/includes/avatar/driver/local.php
@@ -50,7 +50,7 @@ class phpbb_avatar_driver_local extends phpbb_avatar_driver
'SELECTED' => ($cat == $category),
));
}
-
+
if ($cat != $category)
{
unset($avatar_list[$cat]);