Back out ad88c42b0255 due to patch 1/2 applied, a=Standard8 COMM80_20111018_RELBRANCH CALENDAR_1_0rc2_BUILD1 CALENDAR_1_0rc2_BUILD2 CALENDAR_1_0rc2_BUILD3 CALENDAR_1_0rc2_RELEASE THUNDERBIRD_8_0b3_BUILD2 THUNDERBIRD_8_0b3_RELEASE
authorChristian Legnitto <clegnitto@mozilla.com>
Tue, 18 Oct 2011 15:11:24 -0700
branchCOMM80_20111018_RELBRANCH
changeset 76351 99b96ecf659a73dd9f6c2a5585c67095818539c8
parent 76343 33224df2c83c64ccb3fdc63098d68d994b2fa03d
child 76352 f12050f457da0a8f7ef5729b129e17cb1ae8bf57
child 76360 ce38b50c21d1f803ae315c66b51e114913353fd3
push id1
push usersledru@mozilla.com
push dateThu, 04 Dec 2014 17:57:20 +0000
reviewersStandard8
milestone8.0
backs outad88c42b02555f0e693717fe218a013e0d877c27
Back out ad88c42b0255 due to patch 1/2 applied, a=Standard8
toolkit/mozapps/extensions/AddonRepository.jsm
--- a/toolkit/mozapps/extensions/AddonRepository.jsm
+++ b/toolkit/mozapps/extensions/AddonRepository.jsm
@@ -1315,17 +1315,17 @@ var AddonDatabase = {
       if (aSecondAttempt || dbMissing) {
         this.databaseOk = false;
         throw e;
       }
 
       LOG("Deleting database, and attempting openConnection again");
       dbfile.remove(false);
       return this.openConnection(true);
-    }).bind(this);
+    }
 
     this.connection.executeSimpleSQL("PRAGMA locking_mode = EXCLUSIVE");
     if (dbMissing || this.connection.schemaVersion == 0)
       this._createSchema();
 
     return this.connection;
   },