Bug 529103 - Removing folders must use removeItem not removeFolder

Switch to Svc.Bookmark.removeItem from this._bms.removeFolder.
This commit is contained in:
Edward Lee 2009-11-18 10:24:09 -08:00
parent bf1a8ee4ec
commit ac2b6c824d

View File

@ -519,7 +519,7 @@ BookmarksStore.prototype = {
break;
case this._bms.TYPE_FOLDER:
this._log.debug(" -> removing folder " + record.id);
this._bms.removeFolder(itemId);
Svc.Bookmark.removeItem(itemId);
break;
case this._bms.TYPE_SEPARATOR:
this._log.debug(" -> removing separator " + record.id);