[wellwell-devel] [wellwell/zoom] Allow check variables overrides from variable database(s) for reviews plugin.
Stefan Hornburg
wellwell-devel at rt.icdevgroup.org
Wed Sep 15 10:46:20 UTC 2010
commit 1526bf797cfeb724ff58cd429d0275f3515ae34a
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