don't expire filed items

pull/175/head^2
friendica 2012-03-27 00:54:34 -07:00
rodzic daa036e34c
commit 20f9733250
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -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']))