no more need to set version

This commit is contained in:
Jean-Christian Paul Denis 2022-12-08 00:17:29 +01:00
parent 49a5277f6f
commit 7b5cfb58aa
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -108,12 +108,6 @@ try {
); );
} }
# Set module version
dcCore::app()->setVersion(
$mod_id,
dcCore::app()->plugins->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());