diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-01-06 17:25:34 +0000 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2012-01-06 20:53:14 +0100 |
commit | f40abcb4ccceb956a5a70e90c91d69c9cddc0ddd (patch) | |
tree | 0e4c7ebd56e0453c525cbad82758caf7097b3e06 | |
parent | 5163ea88dc41a2c30dffeec62725878d540a6011 (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 |