Features to src
Move Features to class in Friendica\Content namespace. Update function calls and references.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user