diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-04-18 23:10:57 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-04-18 23:10:57 +0000 |
commit | e7ba49b69c41793ba2f3605d6a6b0f8d6588e1c4 (patch) | |
tree | ca0a806f682a9eade1f3fe029fefa90ff7650321 /modules/g2_import/helpers/g2_import_task.php | |
parent | 0fe439876523d453ca1c5ad7ddadc808c02c9cf8 (diff) |
Properly import groups and put users into groups. Mark admin users
appropriately.
Diffstat (limited to 'modules/g2_import/helpers/g2_import_task.php')
-rw-r--r-- | modules/g2_import/helpers/g2_import_task.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/g2_import/helpers/g2_import_task.php b/modules/g2_import/helpers/g2_import_task.php index 3715e8a1..fea949e5 100644 --- a/modules/g2_import/helpers/g2_import_task.php +++ b/modules/g2_import/helpers/g2_import_task.php @@ -50,8 +50,8 @@ class g2_import_task_Core { $root_g2_id = g2(GalleryCoreApi::getDefaultAlbumId()); $root = ORM::factory("g2_map")->where("g2_id", $root_g2_id)->find(); if (!$root->loaded) { - $root->id = 1; $root->g2_id = $root_g2_id; + $root->g3_id = 1; $root->save(); } |