kopia lustrzana https://github.com/nextcloud/social
rodzic
ae90cc6117
commit
b8c992738d
|
@ -676,7 +676,6 @@ class CoreRequestBuilder {
|
|||
}
|
||||
}
|
||||
$document = new Document();
|
||||
|
||||
$document->importFromDatabase($new);
|
||||
|
||||
if ($document->getType() !== Image::TYPE) {
|
||||
|
|
|
@ -206,10 +206,7 @@ class DocumentService implements ICoreService {
|
|||
$versionCurrent =
|
||||
(int)$this->configService->getUserValue('version', $actor->getUserId(), 'avatar');
|
||||
$versionCached = $actor->getAvatarVersion();
|
||||
|
||||
if ($versionCurrent > $versionCached) {
|
||||
echo $actor->getUserId() . ' ' . $versionCurrent . ' ' . $versionCached . "\n";
|
||||
|
||||
$icon = new Image();
|
||||
$icon->setUrl($url);
|
||||
$icon->setUrlcloud($this->configService->getCloudAddress());
|
||||
|
|
Ładowanie…
Reference in New Issue