summaryrefslogtreecommitdiff
path: root/actions/avatarbynickname.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-06 03:13:08 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-06 03:55:48 -0500
commit343cd6f20577c44487eae4e90ec10bfd954980e3 (patch)
tree9296d0a076be7f819e58ac6c7f1259513f65a2bd /actions/avatarbynickname.php
parentd3ff8bfec63db1648e6336924030255904a6eeb5 (diff)
Move common_avatar_* functions to Avatar
Moved the common_avatar_* functions to the Avatar class. Typically either as methods on the object or as static methods. Replaced all the uses of the functions in other modules.
Diffstat (limited to 'actions/avatarbynickname.php')
-rw-r--r--actions/avatarbynickname.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/avatarbynickname.php b/actions/avatarbynickname.php
index 9bbdecefa..ca58c9653 100644
--- a/actions/avatarbynickname.php
+++ b/actions/avatarbynickname.php
@@ -90,9 +90,9 @@ class AvatarbynicknameAction extends Action
$url = $avatar->url;
} else {
if ($size == 'original') {
- $url = common_default_avatar(AVATAR_PROFILE_SIZE);
+ $url = Avatar::defaultImage(AVATAR_PROFILE_SIZE);
} else {
- $url = common_default_avatar($size+0);
+ $url = Avatar::defaultImage($size+0);
}
}
common_redirect($url, 302);