[arch-dev-public] [PATCH 2/4] Moved chk_license to db-functions file