mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:10:11 +00:00
Features to src
Move Features to class in Friendica\Content namespace. Update function calls and references.
This commit is contained in:
parent
2685c9bb1c
commit
2f0da29c75
24 changed files with 241 additions and 211 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue