]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Localisation updates from https://translatewiki.net.
[rails.git] / app / controllers / changeset_controller.rb
index f294d23d59026c31b931c04c9f9b97d8bdfb849f..0a63d525373aa33892c08a243895aa90e3b57598 100644 (file)
@@ -353,7 +353,6 @@ class ChangesetController < ApplicationController
 
     # Find the changeset and check it is valid
     changeset = Changeset.find(id)
-    raise OSM::APIChangesetNotYetClosedError, changeset if changeset.is_open?
     raise OSM::APIChangesetAlreadySubscribedError, changeset if changeset.subscribers.exists?(current_user.id)
 
     # Add the subscriber
@@ -374,7 +373,6 @@ class ChangesetController < ApplicationController
 
     # Find the changeset and check it is valid
     changeset = Changeset.find(id)
-    raise OSM::APIChangesetNotYetClosedError, changeset if changeset.is_open?
     raise OSM::APIChangesetNotSubscribedError, changeset unless changeset.subscribers.exists?(current_user.id)
 
     # Remove the subscriber