From c371dd7603a6e6ad22510a83111e53cea7d86bc3 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 21 Nov 2006 16:24:33 +0000 Subject: [PATCH] Fix old methods in Notifier --- chrome/content/zotero/xpcom/notifier.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chrome/content/zotero/xpcom/notifier.js b/chrome/content/zotero/xpcom/notifier.js index af271c32a..55b9c3210 100644 --- a/chrome/content/zotero/xpcom/notifier.js +++ b/chrome/content/zotero/xpcom/notifier.js @@ -76,25 +76,25 @@ Zotero.Notifier = new function(){ // Deprecated function registerCollectionObserver(ref){ Zotero.debug('registerCollectionObserver is deprecated and will be removed in a future release -- use registerObserver() instead', 2); - return _register(ref, 'collection'); + return registerObserver(ref, 'collection'); } // Deprecated function registerItemObserver(ref){ Zotero.debug('registerItemObserver is deprecated and will be removed in a future release -- use registerObserver() instead', 2); - return _register(ref, 'item'); + return registerObserver(ref, 'item'); } // Deprecated function unregisterCollectionObserver(hash){ Zotero.debug('unregisterCollectionObserver is deprecated and will be removed in a future release -- use unregisterObserver() instead', 2); - _unregister(hash); + unregisterObserver(hash); } // Deprecated function unregisterItemObserver(hash){ Zotero.debug('unregisterItemObserver is deprecated and will be removed in a future release -- use unregisterObserver() instead', 2); - _unregister(hash); + unregisterObserver(hash); } /**