diff --git a/mythtv/libs/libmythtv/channelutil.cpp b/mythtv/libs/libmythtv/channelutil.cpp index d5a6d9aad8c..9d019df36c9 100644 --- a/mythtv/libs/libmythtv/channelutil.cpp +++ b/mythtv/libs/libmythtv/channelutil.cpp @@ -1822,17 +1822,6 @@ bool ChannelUtil::DeleteChannel(uint channel_id) return false; } - query.prepare( - "DELETE FROM iptv_channel " - "WHERE chanid = :ID"); - query.bindValue(":ID", channel_id); - - if (!query.exec()) - { - MythDB::DBError("Delete Channel 2", query); - return false; - } - return true; }