diff --git a/html/inc/forum_db.inc b/html/inc/forum_db.inc index 3cf5fd53ce..582179528b 100644 --- a/html/inc/forum_db.inc +++ b/html/inc/forum_db.inc @@ -296,7 +296,7 @@ class BoincNotify { $db = BoincDb::get(); return $db->delete($this, 'notify'); } - function delete_aux($clause) { + static function delete_aux($clause) { $db = BoincDb::get(); $db->delete_aux('notify', $clause); } diff --git a/html/inc/team.inc b/html/inc/team.inc index 48de281bdd..60f1507a86 100644 --- a/html/inc/team.inc +++ b/html/inc/team.inc @@ -418,12 +418,10 @@ function team_edit_form($team, $label, $url) { echo "
";