protected function deleteRowFromTable($table) { if (isset($_GET['id'])) { return Db::delete($table, array('id' => $_GET['id'])); } }