summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-03 13:27:56 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-03 13:28:04 -0800
commit595e03b556a8675844f868778c65f79e1b632d24 (patch)
tree4a1e0b7c52b21973e85dec380a90a56156147fd1
parent774e0be66ecd0c0012ab94a389e38eb81df6eab0 (diff)
Get rid of "skipping" messages because they're overly verbose if you resume an import. This fixes ticket #856.
-rw-r--r--modules/g2_import/helpers/g2_import.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php
index 248f8017..202a0e92 100644
--- a/modules/g2_import/helpers/g2_import.php
+++ b/modules/g2_import/helpers/g2_import.php
@@ -217,7 +217,7 @@ class g2_import_Core {
static function import_group(&$queue) {
$g2_group_id = array_shift($queue);
if (self::map($g2_group_id)) {
- return t("Group with id: %id already imported, skipping", array("id" => $g2_group_id));
+ return;
}
try {
@@ -330,7 +330,7 @@ class g2_import_Core {
}
if (self::map($g2_album_id)) {
- return t("Album with id: %id already imported, skipping", array("id" => $g2_album_id));
+ return;
}
try {
@@ -424,7 +424,7 @@ class g2_import_Core {
$g2_item_id = array_shift($queue);
if (self::map($g2_item_id)) {
- return t("Item with id: %id already imported, skipping", array("id" => $g2_item_id));
+ return;
}
try {