Group logos would not be fetched

update_ostatus_profiles.php did this correctly, but not Ostatus_profile.php
This commit is contained in:
Mikael Nordfeldth 2013-10-06 01:30:44 +02:00
parent ba481d1e31
commit 4cfd0d24c1
1 changed files with 1 additions and 5 deletions

View File

@ -1249,11 +1249,7 @@ class Ostatus_profile extends Managed_DataObject
// http://status.net/open-source/issues/2663
chmod(Avatar::path($filename), 0644);
$profile = $this->localProfile();
if (!empty($profile)) {
$profile->setOriginal($filename);
}
$self->setOriginal($filename);
$orig = clone($this);
$this->avatar = $url;