Commit 369df86e710bd876b3d688472cdce987e27640a3
1 parent
7f207d4a
Exists in
master
and in
4 other branches
Remove GITLAB_OPTS, fixed ldap user creation
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
app/models/user.rb
... | ... | @@ -91,7 +91,7 @@ class User < ActiveRecord::Base |
91 | 91 | :email => email, |
92 | 92 | :password => password, |
93 | 93 | :password_confirmation => password, |
94 | - :projects_limit => GITLAB_OPTS["default_projects_limit"] | |
94 | + :projects_limit => Gitlab.config.default_projects_limit | |
95 | 95 | ) |
96 | 96 | end |
97 | 97 | end | ... | ... |
config/initializers/0_before_all.rb
... | ... | @@ -1 +0,0 @@ |
1 | -GITLAB_OPTS = YAML.load_file("#{Rails.root}/config/gitlab.yml")["gitlab"] |