]> git.mxchange.org Git - friendica.git/blobdiff - include/tags.php
Features to src
[friendica.git] / include / tags.php
index ba8770e6f97a96692a3f41419ac258da790f9a04..145f10968359bb5725bc0a313b6fb7f1dd40ce9b 100644 (file)
@@ -1,6 +1,9 @@
 <?php
-
+/**
+ * @file include/tags.php
+ */
 use Friendica\App;
+use Friendica\Content\Features;
 use Friendica\Core\System;
 use Friendica\Database\DBM;
 use Friendica\Object\Contact;
@@ -302,7 +305,7 @@ function tagcloud_wall_widget($limit = 50) {
                return "";
        }
 
-       if(feature_enabled($a->profile['profile_uid'], 'tagadelic')) {
+       if(Features::isEnabled($a->profile['profile_uid'], 'tagadelic')) {
                $owner_id = Contact::getIdForURL($a->profile['url']);
 
                if(!$owner_id) {