Merge commit 'refs/merge-requests/2220' of git://gitorious.org/statusnet/mainline into integration
This commit is contained in:
commit
66373f8e5a
@ -94,11 +94,11 @@ function updateAvatars($user)
|
||||
}
|
||||
}
|
||||
|
||||
$orig = clone($avatar);
|
||||
$orig_url = $avatar->url;
|
||||
|
||||
$avatar->url = Avatar::url($avatar->filename);
|
||||
|
||||
if ($avatar->url != $orig->url) {
|
||||
if ($avatar->url != $orig_url) {
|
||||
$sql =
|
||||
"UPDATE avatar SET url = '" . $avatar->url . "' ".
|
||||
"WHERE profile_id = " . $avatar->profile_id . " ".
|
||||
|
Loading…
Reference in New Issue
Block a user