Remove lots of old Zotero for Firefox code

We still run tests in Firefox, so not everything can be removed.
This commit is contained in:
Dan Stillman 2018-08-17 02:18:35 -04:00
parent c2ca70055c
commit e48a1a2abb
36 changed files with 46 additions and 3156 deletions

View file

@ -577,8 +577,6 @@ var removeDir = Zotero.Promise.coroutine(function* (dir) {
* any that were set at startup
*/
async function resetDB(options = {}) {
// Hack to avoid CustomizableUI warnings in console from icon.js
var toolbarIconAdded = Zotero.toolbarIconAdded;
resetPrefs();
if (options.thisArg) {
@ -593,7 +591,6 @@ async function resetDB(options = {}) {
false,
options
);
Zotero.toolbarIconAdded = toolbarIconAdded;
await Zotero.Schema.schemaUpdatePromise;
initPDFToolsPath();
}