aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-22 16:49:30 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-22 16:49:30 +0000
commit1a17c096f8ad727ff9113a4b0a2f54acd55088b6 (patch)
tree9bae1d62d3107ecbeed4e8ffc12930777f1c7058 /engine
parent4c18a0cf43c7ab7d72532ec10814d7f55ac6b477 (diff)
downloadelgg-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.php5
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;
}