From fe5070990158c0ee8e2401f60c1641f121f985c1 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 6 Nov 2007 23:21:55 +0000 Subject: [PATCH] - user web: bug prevented host delete svn path=/trunk/boinc/; revision=14100 --- checkin_notes | 6 ++++++ html/inc/boinc_db.inc | 1 + 2 files changed, 7 insertions(+) diff --git a/checkin_notes b/checkin_notes index c0061a6b58..633b948f45 100644 --- a/checkin_notes +++ b/checkin_notes @@ -10521,3 +10521,9 @@ David 6 Nov 2007 html/inc/ boinc_db.inc util.inc + +David 6 Nov 2007 + - user web: bug prevented host delete + + html/inc/ + boinc_db.inc diff --git a/html/inc/boinc_db.inc b/html/inc/boinc_db.inc index a6cdf35eac..c89642dd97 100644 --- a/html/inc/boinc_db.inc +++ b/html/inc/boinc_db.inc @@ -133,6 +133,7 @@ class BoincHost { return $db->update($this, 'host', $clause); } function delete() { + $db = BoincDb::get(); return $db->delete($this, 'host'); } static function enum($clause, $clause2=null) {