]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/tagother.php
Move common_avatar_* functions to Avatar
[quix0rs-gnu-social.git] / actions / tagother.php
index cbace5b6b5c83934848e510b19c8f7602a6542dc..3e8a12fd693d3d78a3717530dee6e31ec35795b9 100644 (file)
@@ -80,7 +80,7 @@ class TagotherAction extends Action
         $this->elementStart('dl', 'entity_depiction');
         $this->element('dt', null, _('Photo'));
         $this->elementStart('dd');
-        $this->element('img', array('src' => ($avatar) ? common_avatar_display_url($avatar) : common_default_avatar(AVATAR_PROFILE_SIZE),
+        $this->element('img', array('src' => ($avatar) ? $avatar->displayUrl() : Avatar::defaultImage(AVATAR_PROFILE_SIZE),
                                     'class' => 'photo avatar',
                                     'width' => AVATAR_PROFILE_SIZE,
                                     'height' => AVATAR_PROFILE_SIZE,