summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2018-02-28 21:58:50 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2018-03-10 16:47:11 +0100
commitc3bca45973c8ec351f8b41421705dec7d7a620e2 (patch)
tree49dfd3dedaf9d05657cae18b3f5f7c1b44c0494d /web
parent1ff409874eda74dfc8c875e9fc1d0d512127746e (diff)
downloadaur-c3bca45973c8ec351f8b41421705dec7d7a620e2.tar.gz
aur-c3bca45973c8ec351f8b41421705dec7d7a620e2.tar.xz
Remove unused variable $dbh in pkgbase_display_details
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web')
-rw-r--r--web/lib/pkgbasefuncs.inc.php2
1 files changed, 0 insertions, 2 deletions
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 "<p>" . $row['error'] . "</p>\n";
}