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
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file mod/editpost.php
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Content\Features;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
|
@ -131,7 +134,7 @@ function editpost_content(App $a) {
|
|||
'$title' => htmlspecialchars($itm[0]['title']),
|
||||
'$placeholdertitle' => t('Set title'),
|
||||
'$category' => file_tag_file_to_list($itm[0]['file'], 'category'),
|
||||
'$placeholdercategory' => (feature_enabled(local_user(),'categories') ? t('Categories (comma-separated list)') : ''),
|
||||
'$placeholdercategory' => (Features::isEnabled(local_user(),'categories') ? t('Categories (comma-separated list)') : ''),
|
||||
'$emtitle' => t('Example: bob@example.com, mary@example.com'),
|
||||
'$lockstate' => $lockstate,
|
||||
'$acl' => '', // populate_acl((($group) ? $group_acl : $a->user)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue