summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/pkgfuncs.inc.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index 1350bf5..a4deee6 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -449,10 +449,6 @@ function display_package_details($id=0, $row, $SID="") {
# Actions Bar
if ($SID) {
include('actions_form.php');
- if (isset($_REQUEST['comment']) && check_token()) {
- $uid = uid_from_sid($SID);
- add_package_comment($id, $uid, $_REQUEST['comment']);
- }
include('pkg_comment_form.php');
}