mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:10:11 +00: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
|
@ -244,7 +244,7 @@ class Ping extends BaseModule
|
|||
$registration['url'],
|
||||
$this->l10n->t('{0} requested registration'),
|
||||
new \DateTime($registration['created'], new \DateTimeZone('UTC')),
|
||||
new Uri($this->baseUrl->get(true) . '/moderation/users/pending')
|
||||
new Uri($this->baseUrl . '/moderation/users/pending')
|
||||
);
|
||||
}
|
||||
} else {
|
||||
|
@ -253,7 +253,7 @@ class Ping extends BaseModule
|
|||
$registrations[0]['url'],
|
||||
$this->l10n->t('{0} and %d others requested registration', count($registrations) - 1),
|
||||
new \DateTime($registrations[0]['created'], new \DateTimeZone('UTC')),
|
||||
new Uri($this->baseUrl->get(true) . '/moderation/users/pending')
|
||||
new Uri($this->baseUrl . '/moderation/users/pending')
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue