X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Ffriendica.php;h=f613dfd39cef05e171db82c410fc75be35714507;hb=f94a10bf00de699a5f3d22ea74665053a5661175;hp=d79c89a6b24ec9ddb867c7f7cf73434b913ceeb1;hpb=a020086128e3d903a030cc3b3d403ab9bce02d88;p=friendica.git diff --git a/mod/friendica.php b/mod/friendica.php index d79c89a6b2..f613dfd39c 100644 --- a/mod/friendica.php +++ b/mod/friendica.php @@ -1,6 +1,8 @@ argv[1]=="json"){ $register_policy = Array('REGISTER_CLOSED', 'REGISTER_APPROVE', 'REGISTER_OPEN'); @@ -29,7 +31,7 @@ function friendica_init(App &$a) { $visible_plugins[] = $rr['name']; } - load_config('feature_lock'); + Config::load('feature_lock'); $locked_features = array(); if(is_array($a->config['feature_lock']) && count($a->config['feature_lock'])) { foreach($a->config['feature_lock'] as $k => $v) { @@ -59,7 +61,7 @@ function friendica_init(App &$a) { -function friendica_content(App &$a) { +function friendica_content(App $a) { $o = ''; $o .= '
'; - $o .= t('Please visit Friendica.com to learn more about the Friendica project.') . '
'; + $o .= t('Please visit Friendica.com to learn more about the Friendica project.') . '
'; $o .= t('Bug reports and issues: please visit') . ' ' . ''.t('the bugtracker at github').'
'; $o .= t('Suggestions, praise, donations, etc. - please email "Info" at Friendica - dot com') . '
'; @@ -102,7 +104,7 @@ function friendica_content(App &$a) { else $o .= '' . t('No installed plugins/addons/apps') . '
'; - call_hooks('about_hook', $o); + call_hooks('about_hook', $o); return $o;