Allow blacklisting versions from being recorded

This commit is contained in:
Latif Khalifa
2013-10-26 23:55:02 +02:00
parent f5d8df0b44
commit 781e4c3906
2 changed files with 24 additions and 2 deletions

View File

@@ -74,6 +74,20 @@ class ReportParser
}
}
function deleteRaw($id)
{
$q = kl_str_sql("delete from raw_reports where report_id=!i", $id);
if ($res = DBH::$db->query($q))
{
return true;
}
else
{
return false;
}
}
function getUnprocessedIDs()
{
$ret = array();