From: friendica Date: Tue, 27 Mar 2012 07:54:34 +0000 (-0700) Subject: don't expire filed items X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=20f9733250a2cbb3fa28ada40f17ec127fb55a9a;p=friendica.git don't expire filed items --- 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']))