Skip to content
代码片段 群组 项目
未验证 提交 bb6e750e 编辑于 作者: Corinna Gogolok's avatar Corinna Gogolok
浏览文件

Move license creation via license key/file into a service class

Prior to this change, the logic used to create a new `License` when
applying a license key or uploading a license file was handled directly
in the `LicensesController`. The logic is already too complex for a
controller. With upcoming changes, the logic needs to be modified which
increased the complexity more.

This change moves the logic to create a `License` when a license key is
applied or a license file is uploaded to a dedicated service. This
simplifies the controller specs and makes extending the logic easier and
better maintainable.
上级 6f9f0a2a
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册