diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-09 16:30:26 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-09 16:30:26 +0000 |
commit | 72a23a6b2bae1cf907484b435987dce0c16e66f0 (patch) | |
tree | 0a4573e2d384adc358ed170c93031b7eb7258579 /engine/lib/objects.php | |
parent | ce53ba5234dc3614de4171c4d5c5ba78fe5ffe98 (diff) | |
download | elgg-72a23a6b2bae1cf907484b435987dce0c16e66f0.tar.gz elgg-72a23a6b2bae1cf907484b435987dce0c16e66f0.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Added table counter
git-svn-id: https://code.elgg.org/elgg/trunk@837 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/objects.php')
-rw-r--r-- | engine/lib/objects.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engine/lib/objects.php b/engine/lib/objects.php index 3c7448137..d1e9b78c2 100644 --- a/engine/lib/objects.php +++ b/engine/lib/objects.php @@ -136,7 +136,12 @@ return false;
// Now save specific stuff
- return create_object_entity($this->get('guid'), $this->get('title'), $this->get('description'));
+ $result = create_object_entity($this->get('guid'), $this->get('title'), $this->get('description'));
+ + // Increment the portion counter + if ($result) $this->attributes['tables_loaded'] ++; + + return $result; }
/**
|