mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50:11 +00:00
Rename App Methods
- renamed a lot of App methods to CamelCase - replaced direct public variables with get-/set-Methods
This commit is contained in:
parent
5f9dd11cfb
commit
5a02e39a65
94 changed files with 481 additions and 338 deletions
|
@ -27,7 +27,7 @@ class System extends BaseObject
|
|||
*/
|
||||
public static function baseUrl($ssl = false)
|
||||
{
|
||||
return self::getApp()->get_baseurl($ssl);
|
||||
return self::getApp()->getBaseURL($ssl);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -39,7 +39,7 @@ class System extends BaseObject
|
|||
*/
|
||||
public static function removedBaseUrl($orig_url)
|
||||
{
|
||||
return self::getApp()->remove_baseurl($orig_url);
|
||||
return self::getApp()->removeBaseURL($orig_url);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -185,7 +185,7 @@ class System extends BaseObject
|
|||
if (is_bool($prefix) && !$prefix) {
|
||||
$prefix = '';
|
||||
} elseif (empty($prefix)) {
|
||||
$prefix = hash('crc32', self::getApp()->get_hostname());
|
||||
$prefix = hash('crc32', self::getApp()->getHostName());
|
||||
}
|
||||
|
||||
while (strlen($prefix) < ($size - 13)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue