summaryrefslogtreecommitdiff
path: root/web/lib/api/v4/keys.rb
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-14 16:32:42 +0200
committerJochen Topf <jochen@topf.org>2014-09-14 16:41:57 +0200
commit0bce8570acd121ffb6b65ec58d7e678cbd89798f (patch)
treee38ae0d288bdf4542ee2d5ae708eada7392be602 /web/lib/api/v4/keys.rb
parent8685384c806e75457c44ea542d39f961e9658dfc (diff)
downloadtaginfo-0bce8570acd121ffb6b65ec58d7e678cbd89798f.tar
taginfo-0bce8570acd121ffb6b65ec58d7e678cbd89798f.tar.gz
Removed unused Potlatch-related code.
Diffstat (limited to 'web/lib/api/v4/keys.rb')
-rw-r--r--web/lib/api/v4/keys.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/lib/api/v4/keys.rb b/web/lib/api/v4/keys.rb
index 98d60c6..b0072ff 100644
--- a/web/lib/api/v4/keys.rb
+++ b/web/lib/api/v4/keys.rb
@@ -13,7 +13,7 @@ class Taginfo < Sinatra::Base
:parameters => { :query => 'Only show keys matching this query (substring match, optional).' },
:paging => :optional,
:filter => @@filters,
- :sort => %w( key count_all count_nodes count_ways count_relations values_all users_all in_wiki in_josm in_potlatch length ),
+ :sort => %w( key count_all count_nodes count_ways count_relations values_all users_all in_wiki in_josm length ),
:result => paging_results([
[:key, :STRING, 'Key'],
[:count_all, :INT, 'Number of objects in the OSM database with this key.'],
@@ -64,7 +64,6 @@ class Taginfo < Sinatra::Base
o.users_all
o.in_wiki
o.in_josm
- o.in_potlatch
o.length 'length(key)'
o.length :key
}.