diff options
| author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-15 17:07:13 +0000 | 
|---|---|---|
| committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-15 17:07:13 +0000 | 
| commit | 18d00e176826a353503f889bb8ea157e5228304b (patch) | |
| tree | 2627deb9fbf4f67d542100445953bed181e6fa00 /mod/ecml/ecml_functions.php | |
| parent | 08b4a8007503f580ebe85527124b452de5832dd3 (diff) | |
| download | elgg-18d00e176826a353503f889bb8ea157e5228304b.tar.gz elgg-18d00e176826a353503f889bb8ea157e5228304b.tar.bz2  | |
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
Diffstat (limited to 'mod/ecml/ecml_functions.php')
| -rw-r--r-- | mod/ecml/ecml_functions.php | 3 | 
1 files changed, 1 insertions, 2 deletions
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;  | 
