aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 7a6245261..7365a6b68 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1201,14 +1201,13 @@ function set_last_login($user_guid) {
* @param string $object_type user
* @param ElggUser $object User object
*
- * @return bool
+ * @return void
* @access private
*/
function user_create_hook_add_site_relationship($event, $object_type, $object) {
global $CONFIG;
add_entity_relationship($object->getGUID(), 'member_of_site', elgg_get_site_entity()->guid);
- return true;
}
/**