diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-04 16:38:35 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-04 16:38:35 -0700 |
commit | a3171cd4291603b0cb0d706d660084d1d4d392d3 (patch) | |
tree | b389e0e609b0df5d1d160c6c1b2d099692844856 /include/nav.php | |
parent | 2b2f1f274671db4421af6ed1d4b421b5ac8879b4 (diff) | |
download | volse-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/nav.php')
-rw-r--r-- | include/nav.php | 2 |
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')) { |