aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/access.php')
-rw-r--r--engine/lib/access.php11
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');