Fix GitLab Pages deployments not working
The deployment of https://gitlab.com/gitlab-org/gitlab/merge_requests/20154 broke new deployments of GitLab Pages. The call to `project.feature_available?(:pages_size_limit)` failed with this error: ``` Use `License.feature_available?` for features that cannot be restricted to only a subset of projects or namespaces ``` Since `GLOBAL_FEATURES` includes `pages_size_limit`, we must call `License.feature_available?(:pages_size_limit)` instead to be consistent with `EE::GlobalPolicy`. Closes https://gitlab.com/gitlab-org/gitlab/issues/12166
Showing
Please register or sign in to comment