Features to src

Move Features to class in Friendica\Content namespace. Update function calls and references.
This commit is contained in:
Adam Magness 2017-12-04 08:33:49 -05:00
parent 2685c9bb1c
commit 2f0da29c75
24 changed files with 241 additions and 211 deletions

View file

@ -4,6 +4,7 @@
*/
use Friendica\App;
use Friendica\ParseUrl;
use Friendica\Content\Features;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Core\Worker;
@ -2355,7 +2356,7 @@ function posted_dates($uid, $wall) {
function posted_date_widget($url, $uid, $wall) {
$o = '';
if (! feature_enabled($uid, 'archives')) {
if (! Features::isEnabled($uid, 'archives')) {
return $o;
}