aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-04 16:38:35 -0700
committerredmatrix <mike@macgirvin.com>2016-09-04 16:38:35 -0700
commita3171cd4291603b0cb0d706d660084d1d4d392d3 (patch)
treeb389e0e609b0df5d1d160c6c1b2d099692844856 /include
parent2b2f1f274671db4421af6ed1d4b421b5ac8879b4 (diff)
downloadvolse-hubzilla-a3171cd4291603b0cb0d706d660084d1d4d392d3.tar.gz
volse-hubzilla-a3171cd4291603b0cb0d706d660084d1d4d392d3.tar.bz2
volse-hubzilla-a3171cd4291603b0cb0d706d660084d1d4d392d3.zip
incutio xmlrpc library uses old-style (php4) constructors which have been deprecated for some time. They should still work on 7.0, but it's only a matter of time before they go away.
Diffstat (limited to 'include')
-rw-r--r--include/nav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php
index 9cee8dd7e..c2a058457 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -148,7 +148,7 @@ EOT;
if(! local_channel())
$nav['home'] = array($homelink, t('Home'), "", t('Home Page'),'home_nav_btn');
- if(((App::$config['system']['register_policy'] == REGISTER_OPEN) || (App::$config['system']['register_policy'] == REGISTER_APPROVE)) && (! $_SESSION['authenticated']))
+ if(((get_config('system','register_policy') == REGISTER_OPEN) || (get_config('system','register_policy') == REGISTER_APPROVE)) && (! $_SESSION['authenticated']))
$nav['register'] = array('register',t('Register'), "", t('Create an account'),'register_nav_btn');
if(! get_config('system','hide_help')) {