mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 10:04:26 +02:00
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
This commit is contained in:
parent
2900389696
commit
50be94aa5e
23 changed files with 34 additions and 50 deletions
|
@ -182,7 +182,7 @@ class System
|
|||
if (is_bool($prefix) && !$prefix) {
|
||||
$prefix = '';
|
||||
} elseif (empty($prefix)) {
|
||||
$prefix = hash('crc32', DI::app()->getHostName());
|
||||
$prefix = hash('crc32', DI::baseUrl()->getHostname());
|
||||
}
|
||||
|
||||
while (strlen($prefix) < ($size - 13)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue