Merge pull request #547 from PiotrKaczor/patch-1

[*] MO : pscleaner reset employees notyfications
This commit is contained in:
Rémi Gaillard
2013-07-11 00:46:30 -07:00

View File

@@ -487,6 +487,8 @@ class PSCleaner extends Module
foreach ($tables as $table)
$db->execute('TRUNCATE TABLE `'._DB_PREFIX_.bqSQL($table).'`');
$db->execute('DELETE FROM `'._DB_PREFIX_.'address` WHERE id_customer > 0');
$db->execute('UPDATE `'._DB_PREFIX_.'employee` SET `id_last_order` = 0,`id_last_customer_message` = 0,`id_last_customer` = 0');
break;
}
$this->clearAllCaches();