[PATCH] Remove unused variable $dbh in pkgbase_display_details
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl> --- web/lib/pkgbasefuncs.inc.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/lib/pkgbasefuncs.inc.php b/web/lib/pkgbasefuncs.inc.php index ff1bc90..ed4f3d0 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 "<p>" . $row['error'] . "</p>\n"; } -- 2.16.2
On Wed, 28 Feb 2018 at 21:58:50, Jelle van der Waa wrote:
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl> --- web/lib/pkgbasefuncs.inc.php | 2 -- 1 file changed, 2 deletions(-) [...]
Merged, thanks!
participants (2)
-
Jelle van der Waa
-
Lukas Fleischer