Index: openacs-4/packages/acs-templating/tcl/richtext-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/richtext-procs.tcl,v diff -u -N -r1.47.2.6 -r1.47.2.7 --- openacs-4/packages/acs-templating/tcl/richtext-procs.tcl 20 Jul 2009 21:29:51 -0000 1.47.2.6 +++ openacs-4/packages/acs-templating/tcl/richtext-procs.tcl 10 Aug 2009 18:35:11 -0000 1.47.2.7 @@ -83,16 +83,6 @@ # enhanced text and HTML needs to be security checked if { [lsearch { text/enhanced text/html } $format] != -1 } { - # don't check, if user is side-wide admin or a package admin - # -gustaf neumann - if {[acs_user::site_wide_admin_p] || - ([ns_conn isconnected] - && [ad_conn user_id] != 0 - && [permission::permission_p -object_id [ad_conn package_id] -privilege admin \ - -party_id [ad_conn user_id]])} { - return 1 - } - set check_result [ad_html_security_check $contents] if { $check_result ne "" } { set message $check_result