no more need to set version

This commit is contained in:
Jean-Christian Paul Denis 2022-12-08 00:30:04 +01:00
parent 1aaacef8a0
commit b0ad90e1c7
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -85,12 +85,6 @@ try {
$s->put('zoneclearFeedServer_post_full_tpl', serialize(['post', 'category', 'tag', 'archive']), 'string', 'List of templates types for full feed', false, true); $s->put('zoneclearFeedServer_post_full_tpl', serialize(['post', 'category', 'tag', 'archive']), 'string', 'List of templates types for full feed', false, true);
$s->put('zoneclearFeedServer_post_title_redir', serialize(['feed']), 'string', 'List of templates types for redirection to original post', false, true); $s->put('zoneclearFeedServer_post_title_redir', serialize(['feed']), 'string', 'List of templates types for redirection to original post', false, true);
# Set module version
dcCore::app()->setVersion(
$mod_id,
$this->moduleInfo($mod_id, 'version')
);
return true; return true;
} catch (Exception $e) { } catch (Exception $e) {
dcCore::app()->error->add($e->getMessage()); dcCore::app()->error->add($e->getMessage());