diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-01 14:46:16 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-01 14:46:16 +0000 |
commit | 2c8ac0240c9c09842ed1650b680345b30e45f9fd (patch) | |
tree | 3102bf0bcce89e076b7f74afb8c6a29239797a04 /engine/lib | |
parent | 7cfabff217b3e994da8d7a9f985dbf36075e90ed (diff) | |
download | elgg-2c8ac0240c9c09842ed1650b680345b30e45f9fd.tar.gz elgg-2c8ac0240c9c09842ed1650b680345b30e45f9fd.tar.bz2 |
Entity loader support for ElggGroup, refs #106
git-svn-id: https://code.elgg.org/elgg/trunk@1238 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/entities.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index ca926a0fb..32be24775 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1017,8 +1017,8 @@ return new ElggObject($row); case 'user' : return new ElggUser($row); - case 'collection' : - return new ElggCollection($row); + case 'group' : + return new ElggGroup($row); case 'site' : return new ElggSite($row); default: throw new InstallationException(sprintf(elgg_echo('InstallationException:TypeNotSupported'), $row->type)); |