Commit ebffdefb authored by mfluharty's avatar mfluharty

Document change to default_enabled: true in 13.12

Replace enabling instructions with disabling ones
parent 2ee29ad8
......@@ -53,20 +53,21 @@ See also the Code Climate list of [Supported Languages for Maintainability](http
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/267612) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 13.11.
> - [Deployed behind a feature flag](../../../user/feature_flags.md), disabled by default.
> - [Enabled by default](https://gitlab.com/gitlab-org/gitlab/-/issues/284140) in GitLab 13.12.
Changes to files in merge requests can cause Code Quality to fall if merged. In these cases,
an indicator is displayed (**{information-o}** **Code Quality**) on the file in the merge request's diff view. For example:
![Code Quality MR diff report](img/code_quality_mr_diff_report_v13_11.png)
To enable this feature, a GitLab administrator can run the following in a
To disable this feature, a GitLab administrator can run the following in a
[Rails console](../../../administration/operations/rails_console.md):
```ruby
# For the instance
Feature.enable(:codequality_mr_diff)
Feature.disable(:codequality_mr_diff)
# For a single project
Feature.enable(:codequality_mr_diff, Project.find(<project id>))
Feature.disable(:codequality_mr_diff, Project.find(<project id>))
```
## Use cases
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment