mirror of
https://github.com/friendica/friendica
synced 2025-05-12 19:04:21 +02:00
Issue-#3873
Replace deprecated functions with new syntax.
This commit is contained in:
parent
9eb1f4b9c3
commit
0dfa57948f
124 changed files with 819 additions and 679 deletions
|
@ -1,9 +1,10 @@
|
|||
<?php
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config;
|
||||
|
||||
function apps_content(App $a) {
|
||||
$privateaddons = get_config('config', 'private_addons');
|
||||
$privateaddons = Config::get('config', 'private_addons');
|
||||
if ($privateaddons === "1") {
|
||||
if (! local_user()) {
|
||||
info(t('You must be logged in to use addons. '));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue