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!
Bookmarks