diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-07-06 21:00:20 -0400 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-07-06 21:00:20 -0400 |
commit | f068068add8645dc359fdcb00b7745a918c1c81e (patch) | |
tree | 1ee2bff38bf244ee0591e05258b97572a7a25fcf /engine/lib | |
parent | b7bcc8404b9385ac70a8e9a62feba4e97f82b7ae (diff) | |
download | elgg-f068068add8645dc359fdcb00b7745a918c1c81e.tar.gz elgg-f068068add8645dc359fdcb00b7745a918c1c81e.tar.bz2 |
Revert "Fixes #3552. Addess ACL unit tests. These currently fail because of #3522."
This reverts commit d423aee393458d6827dbe913ceacd29171fa3d74. Removing because of problems with differences in how 1.7 and 1.8 populate the acl dropdown for groups.
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/access.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php index ab4580bae..855d0d53c 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -971,20 +971,9 @@ function elgg_override_permissions_hook() { return NULL; } -/** - * Runs unit tests for the entities object. - */ -function access_test($hook, $type, $value, $params) { - global $CONFIG; - $value[] = $CONFIG->path . 'engine/tests/api/access_collections.php'; - return $value; -} - // This function will let us know when 'init' has finished elgg_register_event_handler('init', 'system', 'access_init', 9999); // For overrided permissions elgg_register_plugin_hook_handler('permissions_check', 'all', 'elgg_override_permissions_hook'); elgg_register_plugin_hook_handler('container_permissions_check', 'all', 'elgg_override_permissions_hook'); - -elgg_register_plugin_hook_handler('unit_test', 'system', 'access_test'); |