no more need to set version

This commit is contained in:
Jean-Christian Paul Denis 2022-12-08 00:25:25 +01:00
parent 2a81d9d0e9
commit adbc232650
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -39,12 +39,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());