aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-11 16:19:59 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-11 16:19:59 +0000
commit327010e704cb71fe7b29de48d76975e99a2d355e (patch)
tree3a88cec90c19887ec10c899c61389aada2d1e8c2 /engine
parent9f449e496b33a21ef9163faf7d5f019ac62d6113 (diff)
downloadelgg-327010e704cb71fe7b29de48d76975e99a2d355e.tar.gz
elgg-327010e704cb71fe7b29de48d76975e99a2d355e.tar.bz2
Added Group entity support to import.
git-svn-id: https://code.elgg.org/elgg/trunk@1404 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index c3ee3ddcb..1ece194aa 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1304,7 +1304,7 @@
{
case 'object' : $tmp = new ElggObject($row); break;
case 'user' : $tmp = new ElggUser($row); break;
- case 'collection' : $tmp = new ElggCollection($row); break;
+ case 'group' : $tmp = new ElggGroup($row); break;
case 'site' : $tmp = new ElggSite($row); break;
default: throw new InstallationException(sprintf(elgg_echo('InstallationException:TypeNotSupported'), $class));
}