execute(" CREATE TABLE IF NOT EXISTS `$ce_revision` ( `id_ce_revision` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `parent` bigint(20) UNSIGNED NOT NULL, `id_employee` int(10) UNSIGNED NOT NULL, `title` varchar(255) NOT NULL, `content` longtext NOT NULL, `active` tinyint(1) UNSIGNED NOT NULL DEFAULT 0, `date_upd` datetime NOT NULL, PRIMARY KEY (`id_ce_revision`), KEY `id` (`parent`), KEY `date_add` (`date_upd`) ) ENGINE=$engine DEFAULT CHARSET=utf8; "); $result &= $module->registerHook('actionObjectCERevisionDeleteAfter'); $result &= $module->registerHook('actionProductAdd'); $result &= $module->registerHook('CETemplate'); CE\Plugin::instance()->files_manager->clearCache(); Media::clearCache(); return $result; }