summaryrefslogtreecommitdiff
path: root/web/taginfo.rb
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-06 20:37:13 +0200
committerJochen Topf <jochen@topf.org>2014-09-06 20:37:13 +0200
commita841bf2f35bfe477db2458533b8a875cd9cf38e8 (patch)
tree2ab19aef5c06c65f09d7d5e7406918d6ffc30b9b /web/taginfo.rb
parent95ff801f4829046ca44f949beddb56b066768466 (diff)
downloadtaginfo-a841bf2f35bfe477db2458533b8a875cd9cf38e8.tar
taginfo-a841bf2f35bfe477db2458533b8a875cd9cf38e8.tar.gz
Refactor projects code to work without the Project class.
This way we always get the data dynamically from the database instead of loading it once at program start. This could allow faster updates in the future.
Diffstat (limited to 'web/taginfo.rb')
-rwxr-xr-xweb/taginfo.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/web/taginfo.rb b/web/taginfo.rb
index 58a7fe9..5763fc9 100755
--- a/web/taginfo.rb
+++ b/web/taginfo.rb
@@ -53,7 +53,6 @@ require 'lib/language.rb'
require 'lib/sql.rb'
require 'lib/sources.rb'
require 'lib/reports.rb'
-require 'lib/projects.rb'
require 'lib/api.rb'
require 'lib/langtag/bcp47.rb'
@@ -64,7 +63,6 @@ TaginfoConfig.read
#------------------------------------------------------------------------------
DATA_UNTIL = SQL::Database.init('../../data');
-Project.init
class Taginfo < Sinatra::Base