first commit
This commit is contained in:
12
modules/gm_omniprice/cleanup.php
Normal file
12
modules/gm_omniprice/cleanup.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
require_once('../../config/config.inc.php');
|
||||
|
||||
$omni = Module::getInstanceByName('gm_omniprice');
|
||||
$token = Tools::getValue('token');
|
||||
$comparedToken = Tools::getAdminToken('gm_omniprice');
|
||||
if ($token != $comparedToken) {
|
||||
die('invalid token');
|
||||
}
|
||||
$omni->cleanUp(true);
|
||||
echo 'FINISH<br/>';
|
||||
Reference in New Issue
Block a user