1
0
Fork 0

ability to only expire contacts, not self

This commit is contained in:
friendica 2012-05-29 01:14:53 -07:00
commit 2eafa9a475
4 changed files with 10 additions and 5 deletions

View file

@ -3082,7 +3082,7 @@ function item_expire($uid,$days) {
// $expire_network_only = save your own wall posts
// and just expire conversations started by others
$expire_network_only = get_pconfig($uid,'expire','expire_network_only');
$expire_network_only = get_pconfig($uid,'expire','network_only');
$sql_extra = ((intval($expire_network_only)) ? " AND wall = 0 " : "");
$r = q("SELECT * FROM `item`