Commit 3eac1046 authored by Dominik V. Salonen's avatar Dominik V. Salonen Committed by GitHub

Remove legacy support

It's been handled using 301 redirects in nginx for a while. But I've been too lazy to remove the code block until now
parent 5708007a
......@@ -153,11 +153,6 @@ def get_file(filename):
print_log('Warning', 'Unable to update access time. Is the file in the database?')
return send_from_directory(config['UPLOAD_FOLDER'], filename)
def serve_legacy(filename):
return send_from_directory('legacy', filename)
# Configure nginx to use these urls as custom error pages
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment