Index: openacs-4/packages/ecommerce/www/admin/index.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/index.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/ecommerce/www/admin/index.adp 22 Apr 2008 10:48:32 -0000 1.1
+++ openacs-4/packages/ecommerce/www/admin/index.adp 30 Apr 2008 12:27:59 -0000 1.2
@@ -54,5 +54,6 @@
Email Templates
User Search Terms
Audit @ec_system_name@
+Flush the database cache (TODO: do this automatically where appropriate)
Index: openacs-4/packages/ecommerce/www/admin/index.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/index.tcl,v
diff -u -r1.8 -r1.9
--- openacs-4/packages/ecommerce/www/admin/index.tcl 22 Apr 2008 10:48:32 -0000 1.8
+++ openacs-4/packages/ecommerce/www/admin/index.tcl 30 Apr 2008 12:28:17 -0000 1.9
@@ -7,6 +7,7 @@
@cvs-id $Id$
@author ported by Jerry Asher (jerry@theashergroup.com)
} {
+ {flush_db_cache 0}
}
set page_title "[ec_system_name] Administration"
@@ -65,3 +66,7 @@
set multiple_retailers_p [ad_parameter -package_id [ec_id] MultipleRetailersPerProductP ecommerce]
set ec_system_name [ec_system_name]
+
+if {$flush_db_cache} {
+ db_flush_cache -cache_key_pattern "ec-*"
+}