fix
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Bx\Discount\Ajax;
|
||||
|
||||
use Bx\Discount\Agents\SpiderAgentManager;
|
||||
use Wt\Core\Ajax\AAjaxHandler;
|
||||
|
||||
class BxDiscount extends AAjaxHandler
|
||||
@@ -12,18 +11,6 @@ class BxDiscount extends AAjaxHandler
|
||||
$this->getResponse()->addData(['method' => 'ajaxStart']);
|
||||
}
|
||||
|
||||
public function spiderAgentDelete()
|
||||
{
|
||||
$agentManager = new SpiderAgentManager();
|
||||
$agentManager->delete();
|
||||
}
|
||||
|
||||
public function spiderAgentAdd()
|
||||
{
|
||||
$agentManager = new SpiderAgentManager();
|
||||
$agentManager->add();
|
||||
}
|
||||
|
||||
public function test()
|
||||
{
|
||||
$this->getResponse()->addData(['method' => 'test', 'version' => discountApp()->module()->getVersion()]);
|
||||
|
||||
Reference in New Issue
Block a user