aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/general.yml-example4
-rw-r--r--vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/config/general.yml-example b/config/general.yml-example
index a0d9dc705..86399f0bc 100644
--- a/config/general.yml-example
+++ b/config/general.yml-example
@@ -134,6 +134,6 @@ HTML_TO_PDF_COMMAND: /usr/local/bin/wkhtmltopdf-amd64
# Exception notifications
EXCEPTION_NOTIFICATIONS_FROM: do-not-reply-to-this-address@example.com
EXCEPTION_NOTIFICATIONS_TO:
-- robin@example.org
-- seb@example.org
+ - robin@example.org
+ - seb@example.org
diff --git a/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb b/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb
index 592784ba1..39cfe929f 100644
--- a/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb
+++ b/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb
@@ -218,7 +218,7 @@ module ActsAsXapian
full_path = @@db_path + suffix
# for indexing
- @@writable_db = Xapian::flint_open(full_path, Xapian::DB_CREATE_OR_OPEN)
+ @@writable_db = Xapian::WritableDatabase.new(full_path, Xapian::DB_CREATE_OR_OPEN)
@@enquire = Xapian::Enquire.new(@@writable_db)
@@term_generator = Xapian::TermGenerator.new()
@@term_generator.set_flags(Xapian::TermGenerator::FLAG_SPELLING, 0)