mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:50: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
|
@ -6,6 +6,7 @@
|
|||
* @todo Automatically detect if incoming data is HTML or BBCode
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Content\Features;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\NotificationsManager;
|
||||
|
@ -5100,7 +5101,7 @@ function api_friendica_profile_show($type)
|
|||
$profileid = (x($_REQUEST, 'profile_id') ? $_REQUEST['profile_id'] : 0);
|
||||
|
||||
// retrieve general information about profiles for user
|
||||
$multi_profiles = feature_enabled(api_user(), 'multi_profiles');
|
||||
$multi_profiles = Features::isEnabled(api_user(), 'multi_profiles');
|
||||
$directory = Config::get('system', 'directory');
|
||||
|
||||
// get data of the specified profile id or all profiles of the user if not specified
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue