Index: openacs-4/packages/general-comments/www/delete-attachment-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/delete-attachment-2.tcl,v diff -u -r1.5 -r1.5.8.1 --- openacs-4/packages/general-comments/www/delete-attachment-2.tcl 5 May 2007 15:54:47 -0000 1.5 +++ openacs-4/packages/general-comments/www/delete-attachment-2.tcl 6 Sep 2013 16:01:49 -0000 1.5.8.1 @@ -19,7 +19,7 @@ } # check for permissions -ad_require_permission $attach_id delete +permission::require_permission -object_id $attach_id -privilege delete # all of this messy code will be replaced by # a single content_item.delete after the bug fix