X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FMoveToAvatarCache.php;h=055b0c2c0d52c95ce31506d7768d3857e1ec63ff;hb=4e674d98eb1396f252988e3bde827e850b8a9239;hp=1f3147791f8b929743c6cf340751d3b28e1a5953;hpb=59a1ba4faedf728a84e9778ef1cff9240a305703;p=friendica.git diff --git a/src/Console/MoveToAvatarCache.php b/src/Console/MoveToAvatarCache.php index 1f3147791f..055b0c2c0d 100644 --- a/src/Console/MoveToAvatarCache.php +++ b/src/Console/MoveToAvatarCache.php @@ -1,6 +1,6 @@ dba = $dba; - $this->baseurl = $baseurl; + $this->baseUrl = $baseUrl; $this->l10n = $l10n; $this->config = $config; } @@ -94,7 +94,7 @@ HELP; $fields = ['id', 'avatar', 'photo', 'thumb', 'micro', 'uri-id', 'url', 'avatar', 'network']; $condition = ["NOT `self` AND `avatar` != ? AND `photo` LIKE ? AND `uid` = ? AND `uri-id` != ? AND NOT `uri-id` IS NULL AND NOT `network` IN (?, ?)", - '', $this->baseurl->get() . '/photo/%', 0, 0, Protocol::MAIL, Protocol::FEED]; + '', $this->baseUrl . '/photo/%', 0, 0, Protocol::MAIL, Protocol::FEED]; $count = 0; $total = $this->dba->count('contact', $condition);