]> git.mxchange.org Git - friendica.git/blobdiff - include/contact_widgets.php
Degrade priority step by step
[friendica.git] / include / contact_widgets.php
index 5dd3a8bb4b163996d597902adff6f99b741f07a3..3cd18c7792cb257178a1e00b3f388e19ca83a210 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\App;
+
 function follow_widget($value = "") {
 
        return replace_macros(get_markup_template('follow.tpl'), array(
@@ -49,7 +51,7 @@ function unavailable_networks() {
                $networks[] = NETWORK_APPNET;
        }
 
-       if (!plugin_enabled("fbpost") AND !plugin_enabled("facebook")) {
+       if (!plugin_enabled("fbpost") && !plugin_enabled("facebook")) {
                $networks[] = NETWORK_FACEBOOK;
        }