move markdown-in-posts/comments feature to plugin
This commit is contained in:
@@ -373,15 +373,6 @@ function get_features($filtered = true) {
|
||||
|
||||
t('Post/Comment Tools'),
|
||||
|
||||
[
|
||||
'markdown',
|
||||
t('Markdown'),
|
||||
t('Use markdown for editing posts'),
|
||||
false,
|
||||
get_config('feature_lock','markdown'),
|
||||
feature_level('markdown',2),
|
||||
],
|
||||
|
||||
[
|
||||
'commtag',
|
||||
t('Community Tagging'),
|
||||
@@ -490,6 +481,8 @@ function get_features($filtered = true) {
|
||||
else {
|
||||
$narr = $arr;
|
||||
}
|
||||
call_hooks('get_features',$narr);
|
||||
return $narr;
|
||||
|
||||
$x = [ 'features' => $narr, 'filtered' => $filtered, 'techlevel' => $techlevel ];
|
||||
call_hooks('get_features',$x);
|
||||
return $x['features'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user