aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/avatar/driver
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/avatar/driver')
-rw-r--r--phpBB/includes/avatar/driver/driver.php7
-rw-r--r--phpBB/includes/avatar/driver/gravatar.php6
-rw-r--r--phpBB/includes/avatar/driver/interface.php3
3 files changed, 3 insertions, 13 deletions
diff --git a/phpBB/includes/avatar/driver/driver.php b/phpBB/includes/avatar/driver/driver.php
index 234186215b..6710f1f153 100644
--- a/phpBB/includes/avatar/driver/driver.php
+++ b/phpBB/includes/avatar/driver/driver.php
@@ -58,13 +58,6 @@ abstract class phpbb_avatar_driver implements phpbb_avatar_driver_interface
protected $cache;
/**
- * This flag should be set to true if the avatar requires a nonstandard image
- * tag, and will generate the html itself.
- * @var boolean
- */
- public $custom_html = false;
-
- /**
* Construct a driver object
*
* @param phpbb_config $config phpBB configuration
diff --git a/phpBB/includes/avatar/driver/gravatar.php b/phpBB/includes/avatar/driver/gravatar.php
index 7e21a737a1..6ceac1a149 100644
--- a/phpBB/includes/avatar/driver/gravatar.php
+++ b/phpBB/includes/avatar/driver/gravatar.php
@@ -21,12 +21,10 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_avatar_driver_gravatar extends phpbb_avatar_driver
{
- const GRAVATAR_URL = 'https://secure.gravatar.com/avatar/';
-
/**
- * @inheritdoc
+ * The URL for the gravatar service
*/
- public $custom_html = true;
+ const GRAVATAR_URL = 'https://secure.gravatar.com/avatar/';
/**
* @inheritdoc
diff --git a/phpBB/includes/avatar/driver/interface.php b/phpBB/includes/avatar/driver/interface.php
index cc6b7edd17..d2f25a989f 100644
--- a/phpBB/includes/avatar/driver/interface.php
+++ b/phpBB/includes/avatar/driver/interface.php
@@ -40,8 +40,7 @@ interface phpbb_avatar_driver_interface
public function get_data($row, $ignore_config = false);
/**
- * Returns custom html for displaying this avatar.
- * Only called if $custom_html is true.
+ * Returns custom html if it is needed for displaying this avatar
*
* @param bool $ignore_config Whether this function should respect the users prefs
* and board configuration configuration option, or should just render