From 235144fa3434a138fca3d2142960cd2e642fc9cb Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 9 Oct 2007 22:25:20 +0000 Subject: [PATCH] Addresses #777, Add translator rebuild button to Advanced prefs pane Table wasn't being properly updated until restart --- chrome/content/zotero/xpcom/schema.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index ce54807f5..a37f8e308 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -282,6 +282,9 @@ Zotero.Schema = new function(){ var sql = "DELETE FROM version WHERE schema IN " + "('scrapers', 'repository', 'lastcheck')"; Zotero.DB.query(sql); + _dbVersions['scrapers'] = null; + _dbVersions['repository'] = null; + _dbVersions['lastcheck'] = null; // Rebuild from scrapers.sql _updateSchema('scrapers');