Open GoogleCodeExporter opened 9 years ago
It turns out this problem only occurs on feeds which have had other problems
due to
what I mentioned in ticket #56. The issues are probably related.
Original comment by fluffy%b...@gtempaccount.com
on 7 May 2009 at 6:30
Got sick of Google again so switched back to FonF. Still having this problem,
two years later. C'est la vie.
Original comment by flu...@beesbuzz.biz
on 5 Aug 2011 at 8:39
Easy fix, by changing fof_db_delete_subscription:
function fof_db_delete_subscription($user_id, $feed_id)
{
global $FOF_SUBSCRIPTION_TABLE, $FOF_ITEM_TAG_TABLE;
$result = fof_db_get_items($user_id, $feed_id, $what="all", NULL, NULL);
$items = array();
foreach($result as $r)
{
$items[] = $r['item_id'];
}
fof_safe_query("delete from $FOF_SUBSCRIPTION_TABLE where feed_id = %d and user_id = %d", $feed_id, $user_id);
if (count($items)) {
$itemclause = join(", ", $items);
fof_safe_query("delete from $FOF_ITEM_TAG_TABLE where user_id = %d and item_id in ($itemclause)", $user_id);
}
}
Original comment by jsha...@gmail.com
on 15 Sep 2011 at 5:11
Original issue reported on code.google.com by
fluffy%b...@gtempaccount.com
on 6 May 2009 at 7:15