diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-04-18 04:27:04 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-04-18 04:27:04 +0000 |
commit | a3e8818449677d08444cd30613603440e6529c5a (patch) | |
tree | 7030d4825316819d3894570a7923cc9304844add /modules/g2_import/models | |
parent | 1a332009c7ac59984e627678ecc91dbaf267ae57 (diff) |
Track what we've already imported in the G2_Map_Model and keep it
around in the task so that on subsequent import runs we don't try to
reimport stuff we've already pulled in. This also gives us a mapping
so that we will be able to translate old G2 urls into the hot new G3
urls.
Diffstat (limited to 'modules/g2_import/models')
-rw-r--r-- | modules/g2_import/models/g2_map.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/g2_import/models/g2_map.php b/modules/g2_import/models/g2_map.php new file mode 100644 index 00000000..a88a1445 --- /dev/null +++ b/modules/g2_import/models/g2_map.php @@ -0,0 +1,21 @@ +<?php defined("SYSPATH") or die("No direct script access."); +/** + * Gallery - a web based photo album viewer and editor + * Copyright (C) 2000-2008 Bharat Mediratta + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + */ +class G2_Map_Model extends ORM { +} |