diff options
author | dave@33eels.com <dave@33eels.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2009-10-01 16:21:03 (GMT) |
---|---|---|
committer | dave@33eels.com <dave@33eels.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2009-10-01 16:21:03 (GMT) |
commit | dc785fff146387c0c208e9d48422833f571e2ace (patch) | |
tree | 770cc01660c9c95ad23c105d03ca8e2e1d00fee4 /bandwagon | |
parent | 8bfaa00d10a71c750c6716583ab4451c7fd72fb1 (diff) |
Fix for delete collection bug.
git-svn-id: http://svn.mozilla.org/addons/trunk@52691 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'bandwagon')
-rw-r--r-- | bandwagon/content/scripts/factory/collectionFactory2.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bandwagon/content/scripts/factory/collectionFactory2.js b/bandwagon/content/scripts/factory/collectionFactory2.js index 4a5c90e..8aac73b 100644 --- a/bandwagon/content/scripts/factory/collectionFactory2.js +++ b/bandwagon/content/scripts/factory/collectionFactory2.js @@ -331,7 +331,7 @@ Bandwagon.Factory.CollectionFactory2.prototype.deleteCollection = function(colle if (!this.connection) return; - var statement1 = this.connection.createStatement("DELETE FROM collections where resourceURL = :resourceURL"); + var statement1 = this.connection.createStatement("DELETE FROM collections where url = :resourceURL"); statement1.params.resourceURL = collection.resourceURL; var statement2 = this.connection.createStatement("DELETE FROM collectionsAddons where collection = :resourceURL"); |