- web: change var names

This commit is contained in:
David Anderson 2013-02-26 10:40:31 -08:00 committed by Oliver Bock
parent c2ee387a13
commit 9a670c88a5
2 changed files with 6 additions and 2 deletions

View File

@ -360,9 +360,9 @@ class BoincProfile {
$db = BoincDb::get();
return $db->enum('profile', 'BoincProfile', $clause, $clause2);
}
static function enum_fields($fields, $clause=null, $clause2=null) {
static function enum_fields($fields, $where_clause=null, $order_clause=null) {
$db = BoincDb::get();
return $db->enum_fields('profile', 'BoincProfile', $fields, $clause, $clause2);
return $db->enum_fields('profile', 'BoincProfile', $fields, $where_clause, $order_clause);
}
function delete_aux($clause) {
$db = BoincDb::get();

View File

@ -45,6 +45,10 @@ void parse(FILE* f) {
int main() {
FILE* f = fopen("foo.xml", "r");
if (!f) {
fprintf(stderr, "no file\n");
exit(1);
}
parse(f);
}