mirror of
https://github.com/friendica/friendica
synced 2025-05-11 05:04:10 +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
|
@ -2305,7 +2305,7 @@ class Diaspora
|
|||
*/
|
||||
private static function receiveRequestMakeFriend(array $importer, array $contact)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
if ($contact["rel"] == Contact::SHARING) {
|
||||
DBA::update(
|
||||
|
@ -3064,7 +3064,7 @@ class Diaspora
|
|||
*/
|
||||
public static function transmit(array $owner, array $contact, $envelope, $public_batch, $queue_run = false, $guid = "", $no_queue = false)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
$enabled = intval(Config::get("system", "diaspora_enabled"));
|
||||
if (!$enabled) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue