<?php
-
+/**
+ * @file include/contact_widgets.php
+ */
+use Friendica\Content\Features;
use Friendica\Core\System;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
return '';
}
- if (!feature_enabled(local_user(), 'networks')) {
+ if (!Features::isEnabled(local_user(), 'networks')) {
return '';
}
return '';
}
- if (! feature_enabled(local_user(), 'filing')) {
+ if (! Features::isEnabled(local_user(), 'filing')) {
return '';
}
$a = get_app();
- if (! feature_enabled($a->profile['profile_uid'], 'categories')) {
+ if (! Features::isEnabled($a->profile['profile_uid'], 'categories')) {
return '';
}