mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-09 16:44:26 +02:00
Adapt BaseURL calls to new UriInterface
This commit is contained in:
parent
9e6d95284b
commit
f0c29edcde
101 changed files with 218 additions and 241 deletions
|
@ -90,7 +90,7 @@ class Photo extends BaseFactory
|
|||
}
|
||||
|
||||
foreach ($photos as $id => $photo) {
|
||||
$link = $this->baseUrl->get() . '/photo/' . $data['resource-id'] . '-' . $photo['scale'] . Images::getExtensionByMimeType($data['type']);
|
||||
$link = $this->baseUrl . '/photo/' . $data['resource-id'] . '-' . $photo['scale'] . Images::getExtensionByMimeType($data['type']);
|
||||
if ($type == 'xml') {
|
||||
$data['links'][$photo['scale'] . ':link']['@attributes'] = [
|
||||
'type' => $data['type'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue