diff --git a/couchpotato/core/plugins/base.py b/couchpotato/core/plugins/base.py index ace9de37..7d52e1eb 100644 --- a/couchpotato/core/plugins/base.py +++ b/couchpotato/core/plugins/base.py @@ -64,16 +64,11 @@ class Plugin(object): def databaseSetup(self): - db = get_db() - for index_name in self._database: klass = self._database[index_name] fireEvent('database.setup_index', index_name, klass) - def afterDatabaseSetup(self): - print self._database_indexes - def conf(self, attr, value = None, default = None, section = None): class_name = self.getName().lower().split(':')[0].lower() return Env.setting(attr, section = section if section else class_name, value = value, default = default)