Ejemplo n.º 1
0
function remove($feed_id)
{
    delete_favicon($feed_id);
    Group\remove_all($feed_id);
    // Items are removed by a sql constraint
    return Database::getInstance('db')->table('feeds')->eq('id', $feed_id)->remove();
}
Ejemplo n.º 2
0
function remove($feed_id)
{
    Group\remove_all($feed_id);
    // Items are removed by a sql constraint
    $result = Database::getInstance('db')->table('feeds')->eq('id', $feed_id)->remove();
    Favicon\purge_favicons();
    return $result;
}