From 20f9733250a2cbb3fa28ada40f17ec127fb55a9a Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 27 Mar 2012 00:54:34 -0700 Subject: [PATCH 1/2] don't expire filed items --- include/items.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/items.php b/include/items.php index 708fd81216..2eecadad10 100755 --- a/include/items.php +++ b/include/items.php @@ -2936,6 +2936,11 @@ function item_expire($uid,$days) { foreach($r as $item) { + // don't expire filed items + + if(strpos($item['file'],'[') !== false) + continue; + // Only expire posts, not photos and photo comments if($expire_photos==0 && strlen($item['resource-id'])) From 7c6c3d36f589d38de5e8b36f2ba1d940c8150e2c Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 27 Mar 2012 01:31:47 -0700 Subject: [PATCH 2/2] profile wall privacy --- mod/photos.php | 23 ++++++++++++----------- mod/profile.php | 2 +- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/mod/photos.php b/mod/photos.php index b294f0a666..2a808cb41d 100755 --- a/mod/photos.php +++ b/mod/photos.php @@ -38,21 +38,22 @@ function photos_init(&$a) { $o .= '
' . $a->data['user']['username'] . '
'; $o .= ''; - $o .= '