[PATCH] Remove unused variable $dbh in pkgbase_display_details
Jelle van der Waa
jelle at vdwaa.nl
Wed Feb 28 20:58:50 UTC 2018
Signed-off-by: Jelle van der Waa <jelle at 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
More information about the aur-dev
mailing list