Index: openacs-4/packages/file-storage/www/version-delete.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/version-delete.tcl,v diff -u -r1.12 -r1.12.8.1 --- openacs-4/packages/file-storage/www/version-delete.tcl 26 May 2005 08:28:46 -0000 1.12 +++ openacs-4/packages/file-storage/www/version-delete.tcl 6 Sep 2013 16:01:49 -0000 1.12.8.1 @@ -22,7 +22,7 @@ # check for delete permission on the version -ad_require_permission $version_id delete +permission::require_permission -object_id $version_id -privilege delete db_1row item_select " select item_id