diff options
Diffstat (limited to 'engine/lib')
| -rw-r--r-- | engine/lib/entities.php | 6 | ||||
| -rw-r--r-- | engine/lib/users.php | 2 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/engine/lib/entities.php b/engine/lib/entities.php index f74be3446..45d460383 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1909,7 +1909,7 @@ function elgg_register_entity_type($type, $subtype = null) {   * @param string $subtype The subtype to register (may be blank)   *   * @return true|false Depending on success - * @see register_entity_type() + * @see elgg_register_entity_type()   */  function unregister_entity_type($type, $subtype) {  	global $CONFIG; @@ -1947,7 +1947,7 @@ function unregister_entity_type($type, $subtype) {   * @param string $type The type of entity (object, site, user, group) or blank for all   *   * @return array|false Depending on whether entities have been registered - * @see register_entity_type() + * @see elgg_register_entity_type()   */  function get_registered_entity_types($type = null) {  	global $CONFIG; @@ -1970,7 +1970,7 @@ function get_registered_entity_types($type = null) {  }  /** - * Returns if the entity type and subtype have been registered with {@see register_entity_type()}. + * Returns if the entity type and subtype have been registered with {@see elgg_register_entity_type()}.   *   * @param string $type    The type of entity (object, site, user, group)   * @param string $subtype The subtype (may be blank) diff --git a/engine/lib/users.php b/engine/lib/users.php index ce325f21e..148a22a96 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1549,7 +1549,7 @@ function users_init() {  	elgg_extend_view('forms/account/settings', 'core/settings/account/default_access', 100);  	// Register the user type -	register_entity_type('user', ''); +	elgg_register_entity_type('user', '');  	elgg_register_event_handler('create', 'user', 'user_create_hook_add_site_relationship');  } | 
