aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/start.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-06 17:31:07 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-06 17:31:07 +0000
commit3014339c5444a0acf91285a21a39c44906185bf2 (patch)
treea8bb5166769b1a0c23681eed9146bbaf822b7b39 /mod/profile/start.php
parent4abe1362ab10fbf59bb87c1b7c894537b7766b58 (diff)
downloadelgg-3014339c5444a0acf91285a21a39c44906185bf2.tar.gz
elgg-3014339c5444a0acf91285a21a39c44906185bf2.tar.bz2
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
Diffstat (limited to 'mod/profile/start.php')
-rw-r--r--mod/profile/start.php3
1 files changed, 3 insertions, 0 deletions
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(