diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-01-06 17:25:34 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-01-06 17:25:34 +0000 |
commit | ee33ae705f3af6989931982c8d2ac57344a07e28 (patch) | |
tree | bf076bc79519ce38efabce3e40e59de9148f04b7 | |
parent | ddd86f6f41c740748f8a867022a89179c587ca30 (diff) |
Fix syntax error
-rw-r--r-- | vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 59b3777da..512f59f97 100644 --- a/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb +++ b/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb @@ -584,7 +584,8 @@ module ActsAsXapian end def ActsAsXapian._is_xapian_db(path) - return File.exist?(File.join(temp_path, "iamflint")) or File.exist?(File.join(temp_path, "iamchert")) + exists = File.exist?(File.join(path, "iamflint")) or File.exist?(File.join(path, "iamchert")) + return exists end # You must specify *all* the models here, this totally rebuilds the Xapian |