[wellwell-devel] [SCM] Interchange wellwell catalog branch, master, updated. 34ddee2c23cd14fccc85db8694eaff17decbba26
Stefan Hornburg
racke at rt.icdevgroup.org
Sat Jun 27 09:10:46 UTC 2009
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange wellwell catalog".
The branch, master has been updated
via 34ddee2c23cd14fccc85db8694eaff17decbba26 (commit)
via 66ab64a65fb4612dab5c9aafb88a55934e9941ea (commit)
from 498f9e5fc2633cd5b2fd709cf2e4cf2c5f4bdd8c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 34ddee2c23cd14fccc85db8694eaff17decbba26
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Sat Jun 27 11:10:27 2009 +0200
fix tag name for unlinking files
commit 66ab64a65fb4612dab5c9aafb88a55934e9941ea
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Sat Jun 27 11:10:05 2009 +0200
fix broken delete query
-----------------------------------------------------------------------
Summary of changes and diff:
code/category_update.tag | 2 +-
code/image_update.tag | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/code/category_update.tag b/code/category_update.tag
index aabfe5a..8133eac 100644
--- a/code/category_update.tag
+++ b/code/category_update.tag
@@ -39,7 +39,7 @@ sub {
if (keys %oldcats) {
$instr = join(',', keys %oldcats);
- $Db{product_categories}->query(qq{delete from product categories where sku = $sku and category in ($instr)});
+ $Db{product_categories}->query(qq{delete from product_categories where sku = '$sku' and category in ($instr)});
}
}
EOR
diff --git a/code/image_update.tag b/code/image_update.tag
index b80f72f..015bd70 100644
--- a/code/image_update.tag
+++ b/code/image_update.tag
@@ -50,7 +50,7 @@ sub {
}
if ($imgcode && $origfilename ne $imgfilename) {
- $ret = $Tag->unlink($origfilename);
+ $ret = $Tag->unlink_file($origfilename);
Log("Deleted file $origfilename: $ret.");
}
hooks/post-receive
--
Interchange wellwell catalog
More information about the wellwell-devel
mailing list