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.
This commit is contained in:
@@ -23,6 +23,7 @@ $arr = array(
|
||||
'filing' => t('Saved Folders'),
|
||||
'archives' => t('Search by Date'),
|
||||
'dislike' => t('Dislike Posts'),
|
||||
'savedsearch' => t('Saved Searches'),
|
||||
|
||||
);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user