From c3bca45973c8ec351f8b41421705dec7d7a620e2 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Wed, 28 Feb 2018 21:58:50 +0100 Subject: Remove unused variable $dbh in pkgbase_display_details Signed-off-by: Jelle van der Waa Signed-off-by: Lukas Fleischer --- web/lib/pkgbasefuncs.inc.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'web/lib/pkgbasefuncs.inc.php') diff --git a/web/lib/pkgbasefuncs.inc.php b/web/lib/pkgbasefuncs.inc.php index 16f95dac..72c33b6d 100644 --- a/web/lib/pkgbasefuncs.inc.php +++ b/web/lib/pkgbasefuncs.inc.php @@ -264,8 +264,6 @@ function pkgbase_get_details($base_id) { * @return void */ function pkgbase_display_details($base_id, $row, $SID="") { - $dbh = DB::connect(); - if (isset($row['error'])) { print "

" . $row['error'] . "

\n"; } -- cgit v1.2.3-24-g4f1b