Zen Follower
- Join Date:
- Oct 2006
- Location:
- Worcester, MA
- Posts:
- 451
- Plugin Contributions:
- 0
Question on cloned table shipping modules and 1.3.9 upgrade
Hello!
I have a client with a Zen Cart which has several cloned table shipping modules. I'm preparing to upgrade this client to the newer version of ZC (from 1.3.8).
I noticed that in the new version of the tables shipping file (includes/modules/shipping/table.php) the function remove() has changed slightly.
It was:
function remove() {
global $db;
$db->Execute("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')");
}
And now is:
function remove() {
global $db;
$db->Execute("delete from " . TABLE_CONFIGURATION . " where configuration_key like 'MODULE_SHIPPING_TABLE_%'");
}
So, my question is whether the cloned versions of the new function should be:
function remove() {
global $db;
$db->Execute("delete from " . TABLE_CONFIGURATION . " where configuration_key like 'MODULE_SHIPPING_MYCLONENAME_%'");
}
Anyone know?
Thanks!