Commit b223ac660b7259e9a7ef312098038b06044e8580

Authored by Leandro Santos
Committed by Rodrigo Souto
1 parent f6bbf0e6

remove folder force

Showing 1 changed file with 0 additions and 4 deletions   Show diff stats
lib/api/v1/articles.rb
... ... @@ -20,10 +20,6 @@ module API
20 20 # }
21 21 get do
22 22  
23   - #FIXME remove this line when hub be implemented
24   - params[:content_type] = 'Folder' if ((params[:content_type].nil? ? '' : params[:content_type].downcase) == 'hub')
25   - params[:content_type] = 'Folder' if ((params[:content_type].nil? ? '' : params[:content_type]) == 'CommunityHubPlugin::Hub')
26   -
27 23 conditions = make_conditions_with_parameter(params)
28 24  
29 25 if params[:reference_id]
... ...