From 3014339c5444a0acf91285a21a39c44906185bf2 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 6 Oct 2008 17:31:07 +0000 Subject: Introduced a way to either tether metadata access to entities, or to make them independent - in either case, explicitly. git-svn-id: https://code.elgg.org/elgg/trunk@2197 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/start.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod/profile/start.php') diff --git a/mod/profile/start.php b/mod/profile/start.php index f47f44395..ff9d142a5 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -23,6 +23,9 @@ // will dictate the URL for all ElggUser objects register_entity_url_handler('profile_url','user','all'); + // Metadata on users needs to be independent + register_metadata_as_independent('user'); + // For now, we'll hard code the profile items as follows: // TODO make this user configurable $CONFIG->profile = array( -- cgit v1.2.3