From 18d00e176826a353503f889bb8ea157e5228304b Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 15 Apr 2010 17:07:13 +0000 Subject: Added granular access for views in ECML. Added 'usage' on keyword info. Updated docs. git-svn-id: http://code.elgg.org/elgg/trunk@5747 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/ecml/ecml_functions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mod/ecml/ecml_functions.php') diff --git a/mod/ecml/ecml_functions.php b/mod/ecml/ecml_functions.php index e818a8f99..58395aa7b 100644 --- a/mod/ecml/ecml_functions.php +++ b/mod/ecml/ecml_functions.php @@ -203,8 +203,7 @@ function ecml_is_valid_keyword($keyword, $view = NULL) { return FALSE; } - $views = $CONFIG->ecml_permissions['views']; - $contexts = $CONFIG->ecml_permissions['contexts']; + $views = $CONFIG->ecml_permissions; // this is a blacklist, so return TRUE by default. $r = TRUE; -- cgit v1.2.3