aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
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/items.php
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/items.php')
-rwxr-xr-xinclude/items.php4
1 files changed, 1 insertions, 3 deletions
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);