Bug 989825: remove broken Sync UI code, r=rnewman
authorGavin Sharp <gavin@gavinsharp.com>
Wed, 16 Apr 2014 14:06:59 -0700
changeset 179341 7a915afcb0d4b1ed65e940cf237e534141dbe816
parent 179340 373d7b1c42e01509373369c7b5ac93fe957572ad
child 179342 e666661da03c8dbe32f9e0a6f28da4275a13489d
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewersrnewman
bugs989825
milestone31.0a1
Bug 989825: remove broken Sync UI code, r=rnewman
browser/base/content/browser-syncui.js
--- a/browser/base/content/browser-syncui.js
+++ b/browser/base/content/browser-syncui.js
@@ -232,20 +232,16 @@ let gSyncUI = {
     ));
 
     let notification = new Weave.Notification(
       title, description, null, Weave.Notifications.PRIORITY_WARNING, buttons);
     Weave.Notifications.replaceTitle(notification);
   },
 
   _getAppName: function () {
-    try {
-      let syncStrings = new StringBundle("chrome://browser/locale/sync.properties");
-      return syncStrings.getFormattedString("sync.defaultAccountApplication", [brandName]);
-    } catch (ex) {}
     let brand = new StringBundle("chrome://branding/locale/brand.properties");
     return brand.get("brandShortName");
   },
 
   onEOLNotice: function (data) {
     let code = data.code;
     let kind = (code == "hard-eol") ? "error" : "warning";
     let url = data.url || gSyncUI.DEFAULT_EOL_URL;