Addresses #777, Add translator rebuild button to Advanced prefs pane

Table wasn't being properly updated until restart
This commit is contained in:
Dan Stillman 2007-10-09 22:25:20 +00:00
parent 1c4e03588a
commit 235144fa34

View File

@ -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');