Skip to content

Commit

Permalink
[api] Replace use of removed method #each_full
Browse files Browse the repository at this point in the history
Fixes: #587
  • Loading branch information
hiberis committed Jul 18, 2015
1 parent 9fe0bc9 commit 4a061ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def extract_ldap_user
unless newuser.errors.empty?
errstr = String.new
logger.debug("Creating User failed with: ")
newuser.errors.each_full do |msg|
newuser.errors.full_messages.each do |msg|
errstr = errstr+msg
logger.debug(msg)
end
Expand Down
2 changes: 1 addition & 1 deletion src/api/test/unit/code_quality_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def setup

# our current exceptions
BlackList = {
'ApplicationController#extract_ldap_user' => 116.66,
'ApplicationController#extract_ldap_user' => 119.9,
'AttributeController#attribute_definition' => 87.7,
'BinaryRelease::update_binary_releases_via_json' => 128.58,
'BranchPackage#find_packages_to_branch' => 234.73,
Expand Down

0 comments on commit 4a061ee

Please sign in to comment.