From a3171cd4291603b0cb0d706d660084d1d4d392d3 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 4 Sep 2016 16:38:35 -0700 Subject: 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. --- include/nav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/nav.php') 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')) { -- cgit v1.2.3