From f068068add8645dc359fdcb00b7745a918c1c81e Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Wed, 6 Jul 2011 21:00:20 -0400 Subject: 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. --- engine/lib/access.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'engine/lib/access.php') 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'); -- cgit v1.2.3