]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/changeset.rb
Include both copies of the password in the saved user
[rails.git] / app / models / changeset.rb
index 137de18fd6479640c42688df2aceff3f56f1bfbb..7f70f4a383185b91d237aabe2223a90791ad6883 100644 (file)
@@ -72,7 +72,7 @@ class Changeset < ApplicationRecord
     # note that this may not be a hard limit - due to timing changes and
     # concurrency it is possible that some changesets may be slightly
     # longer than strictly allowed or have slightly more changes in them.
-    ((closed_at > Time.now.utc) && (num_changes <= MAX_ELEMENTS))
+    (closed_at > Time.now.utc) && (num_changes <= MAX_ELEMENTS)
   end
 
   def set_closed_time_now