From ece59b778ecbe2eefa4db4e5f6bac90a4d4ab4e2 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 3 Nov 2012 16:40:05 -0700 Subject: 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. --- include/features.php | 1 + include/items.php | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'include') 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); -- cgit v1.2.3