aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-14 18:22:58 -0800
committerzotlabs <mike@macgirvin.com>2018-01-14 18:22:58 -0800
commit91db66b32d2c469a6d0292712666614b48b4c62e (patch)
treed2f883403453671679ae05f779178f46eae51b0d /include
parentf0faa7f9b06481200c21459f9c53db457b7941b3 (diff)
downloadvolse-hubzilla-91db66b32d2c469a6d0292712666614b48b4c62e.tar.gz
volse-hubzilla-91db66b32d2c469a6d0292712666614b48b4c62e.tar.bz2
volse-hubzilla-91db66b32d2c469a6d0292712666614b48b4c62e.zip
move markdown-in-posts/comments feature to plugin
Diffstat (limited to 'include')
-rw-r--r--include/features.php15
1 files changed, 4 insertions, 11 deletions
diff --git a/include/features.php b/include/features.php
index 8601ff79e..69eeed3e8 100644
--- a/include/features.php
+++ b/include/features.php
@@ -374,15 +374,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'),
t('Ability to tag existing posts'),
@@ -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'];
}