예제 #1
0
파일: feed.php 프로젝트: cs-team/miniflux
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();
}
예제 #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;
}