Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/144/head
Maxence Lange 2018-12-05 20:21:45 -01:00
rodzic ae90cc6117
commit b8c992738d
2 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -676,7 +676,6 @@ class CoreRequestBuilder {
}
}
$document = new Document();
$document->importFromDatabase($new);
if ($document->getType() !== Image::TYPE) {

Wyświetl plik

@ -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());