. */ /* */ /*************************************************************************************/ namespace WishList; use Propel\Runtime\Connection\ConnectionInterface; use Thelia\Install\Database; use Thelia\Module\BaseModule; class WishList extends BaseModule { /** * YOU HAVE TO IMPLEMENT HERE ABSTRACT METHODD FROM BaseModule Class * Like install and destroy */ public function postActivation(ConnectionInterface $con = null) { $database = new Database($con->getWrappedConnection()); $database->insertSql(null, array(THELIA_ROOT . '/local/modules/WishList/Config/thelia.sql')); } }