aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-03 16:40:05 -0700
committerfriendica <info@friendica.com>2012-11-03 16:40:05 -0700
commitece59b778ecbe2eefa4db4e5f6bac90a4d4ab4e2 (patch)
tree5784e71a595ff7fae5a7f0b91b2f9105e400bc7f /include
parentf5b1eee1779e678cd540651bfee73e7126a0c583 (diff)
downloadvolse-hubzilla-ece59b778ecbe2eefa4db4e5f6bac90a4d4ab4e2.tar.gz
volse-hubzilla-ece59b778ecbe2eefa4db4e5f6bac90a4d4ab4e2.tar.bz2
volse-hubzilla-ece59b778ecbe2eefa4db4e5f6bac90a4d4ab4e2.zip
turn off some "advanced" features by default, like archives and saved search - even though we don't yet have a screen to turn them on. That will come.
Diffstat (limited to 'include')
-rw-r--r--include/features.php1
-rwxr-xr-xinclude/items.php4
2 files changed, 2 insertions, 3 deletions
diff --git a/include/features.php b/include/features.php
index 61e4b2acd..d881461ef 100644
--- a/include/features.php
+++ b/include/features.php
@@ -23,6 +23,7 @@ $arr = array(
'filing' => t('Saved Folders'),
'archives' => t('Search by Date'),
'dislike' => t('Dislike Posts'),
+'savedsearch' => t('Saved Searches'),
);
diff --git a/include/items.php b/include/items.php
index c2bd69362..f640f1d2b 100755
--- a/include/items.php
+++ b/include/items.php
@@ -3796,9 +3796,7 @@ function posted_dates($uid,$wall) {
function posted_date_widget($url,$uid,$wall) {
$o = '';
- // For former Facebook folks that left because of "timeline"
-
- if($wall && intval(get_pconfig($uid,'system','no_wall_archive_widget')))
+ if(! feature_enabled($uid,'archives'))
return $o;
$ret = posted_dates($uid,$wall);