public function postActivation(ConnectionInterface $con = null) { return; $database = new Database($con->getWrappedConnection()); $database->insertSql(null, array(__DIR__ . '/Config/thelia.sql')); /* insert the images from image folder if first module activation */ $module = $this->getModuleModel(); if (ModuleImageQuery::create()->filterByModule($module)->count() == 0) { $this->deployImageFolder($module, sprintf('%s/images', __DIR__), $con); } /* set module title */ $this->setTitle($module, array("de_DE" => "BitpayPayments", "en_US" => "BitpayPayments", "fr_FR" => "BitpayPayments")); }