Fix issues flagged by scrutinizer

This commit is contained in:
Paul Gear
2015-12-06 18:07:51 +10:00
parent d862b9c100
commit 2244a5f31d
6 changed files with 20 additions and 52 deletions

View File

@@ -22,18 +22,6 @@ $columns = array(
'last_modified',
);
function search_phrase_column($c)
{
global $searchPhrase;
return "$c LIKE '%$searchPhrase%'";
}
function quote_sql_word($c)
{
return "`$c`";
}
$params = array(
$_POST['device_id'],
);