summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
Diffstat (limited to 'web/template')
-rw-r--r--web/template/pkg_comments.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index 21ce16f4..15547cef 100644
--- a/web/template/pkg_comments.php
+++ b/web/template/pkg_comments.php
@@ -1,11 +1,4 @@
<?php
-if (isset($row['BaseID'])) {
- /* On a package details page. */
- $base_id = $row['BaseID'];
-} else {
- /* On a package base details page. */
- $base_id = $row['ID'];
-}
$include_deleted = has_credential(CRED_COMMENT_VIEW_DELETED);
$count = pkgbase_comments_count($base_id, $include_deleted);
?>