aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index c05ecaf7c..43aae4b25 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -1,10 +1,11 @@
<?php /** @file */
use Zotlabs\Lib\Cache;
+use Zotlabs\Lib\Config;
function findpeople_widget() {
- if(get_config('system','invitation_only')) {
+ if(Config::Get('system','invitation_only')) {
$x = get_pconfig(local_channel(),'system','invites_remaining');
if($x || is_site_admin()) {
App::$page['aside'] .= '<div class="side-link" id="side-invite-remain">'