From 5b1a15704b81af507bddb623fefa3a9f416050b4 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 26 Oct 2012 15:31:10 -0700 Subject: feature management --- include/features.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 include/features.php (limited to 'include') diff --git a/include/features.php b/include/features.php new file mode 100644 index 000000000..2bb874095 --- /dev/null +++ b/include/features.php @@ -0,0 +1,32 @@ + $uid, 'feature' => $feature, 'enabled' => $x); + call_hooks('feature_enabled',$arr); + return($arr['enabled']); +} + +function get_features() { + +$arr = array( + +'multi_delete' => t('Multiple Deletion'), +'expire' => t('Content Expiration'), +'commtag' => t('Community Tagging'), +'categories' => t('Post Categories'), +'filing' => t('Saved Folders'), +'archives' => t('Archives'), + + + +); + + call_hooks('get_features',$arr); + return $arr; +} \ No newline at end of file -- cgit v1.2.3