mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02:00
Escape global namespaced get_app() calls
- Add deprecated status
This commit is contained in:
parent
b8030313e5
commit
5e1ceb57de
52 changed files with 135 additions and 133 deletions
|
@ -280,7 +280,7 @@ class Profile
|
|||
*/
|
||||
private static function sidebar($profile, $block = 0, $show_connect = true)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
$o = '';
|
||||
$location = false;
|
||||
|
@ -551,7 +551,7 @@ class Profile
|
|||
|
||||
public static function getBirthdays()
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
$o = '';
|
||||
|
||||
if (!local_user() || $a->is_mobile || $a->is_tablet) {
|
||||
|
@ -649,7 +649,7 @@ class Profile
|
|||
|
||||
public static function getEventsReminderHTML()
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
$o = '';
|
||||
|
||||
if (!local_user() || $a->is_mobile || $a->is_tablet) {
|
||||
|
@ -1090,7 +1090,7 @@ class Profile
|
|||
*/
|
||||
public static function openWebAuthInit($token)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
// Clean old OpenWebAuthToken entries.
|
||||
OpenWebAuthToken::purge('owt', '3 MINUTE');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue