aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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);