mirror of https://github.com/BOINC/boinc.git
- web: change var names
This commit is contained in:
parent
c2ee387a13
commit
9a670c88a5
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue