diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-22 16:49:30 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-22 16:49:30 +0000 |
commit | 1a17c096f8ad727ff9113a4b0a2f54acd55088b6 (patch) | |
tree | 9bae1d62d3107ecbeed4e8ffc12930777f1c7058 /engine | |
parent | 4c18a0cf43c7ab7d72532ec10814d7f55ac6b477 (diff) | |
download | elgg-1a17c096f8ad727ff9113a4b0a2f54acd55088b6.tar.gz elgg-1a17c096f8ad727ff9113a4b0a2f54acd55088b6.tar.bz2 |
Yet more container refactoring.
git-svn-id: https://code.elgg.org/elgg/trunk@1496 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/objects.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engine/lib/objects.php b/engine/lib/objects.php index d2f90bdfd..530c211bd 100644 --- a/engine/lib/objects.php +++ b/engine/lib/objects.php @@ -30,8 +30,7 @@ protected function initialise_attributes()
{
parent::initialise_attributes();
- - $this->attributes['container_guid'] = $_SESSION['id'];
+
$this->attributes['type'] = "object";
$this->attributes['title'] = "";
$this->attributes['description'] = ""; @@ -61,7 +60,7 @@ // Is $guid is an ElggObject? Use a copy constructor
else if ($guid instanceof ElggObject)
{
- foreach ($guid->attributes as $key => $value)
+ foreach ($guid->attributes as $key => $value)
$this->attributes[$key] = $value;
}
|