[wellwell-devel] [wellwell] Allow check variables overrides from variable database(s) for reviews plugin.

Stefan Hornburg wellwell-devel at rt.icdevgroup.org
Wed Sep 1 13:35:30 UTC 2010


commit 514e5788ce8d2128df4ac5f8376d57eb7bcfe41e
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Wed Sep 1 15:33:47 2010 +0200

    Allow check variables overrides from variable database(s) for reviews plugin.

 plugins/reviews/plugin.cfg |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/reviews/plugin.cfg b/plugins/reviews/plugin.cfg
index 0c299b0..002078b 100644
--- a/plugins/reviews/plugin.cfg
+++ b/plugins/reviews/plugin.cfg
@@ -14,9 +14,13 @@ Variable REVIEWS_ANON_NAME Anonymous user
 Variable REVIEWS_DISPLAY_NAME {FIRST_NAME} {LAST_NAME}
 
 # you may override this check with 'Variable REVIEWS_NAME_CHECK always_pass'
+ifndef REVIEWS_NAME_CHECK
 Variable REVIEWS_NAME_CHECK required
+endif
 
 # you may override this check with 'Variable REVIEWS_TITLE_CHECK always_pass'
+ifndef REVIEWS_TITLE_CHECK
 Variable REVIEWS_TITLE_CHECK required
+endif
 
 ActionMap reviews reviews



More information about the wellwell-devel mailing list