From 45bbca85f7873eaea5e70f62d2bc5d8e82692d57 Mon Sep 17 00:00:00 2001
From: sgiehl <stefan@piwik.org>
Date: Fri, 6 Sep 2013 18:35:49 +0200
Subject: [PATCH] removed deprecated javascript function

---
 plugins/CoreHome/javascripts/broadcast.js    | 10 +++++++++-
 plugins/Zeitgeist/javascripts/piwikHelper.js | 20 --------------------
 2 files changed, 9 insertions(+), 21 deletions(-)

diff --git a/plugins/CoreHome/javascripts/broadcast.js b/plugins/CoreHome/javascripts/broadcast.js
index e09c2dbc9c..fe30534120 100644
--- a/plugins/CoreHome/javascripts/broadcast.js
+++ b/plugins/CoreHome/javascripts/broadcast.js
@@ -432,7 +432,15 @@ var broadcast = {
      */
     customAjaxHandleError: function (deferred, status) {
         broadcast.lastUrlRequested = null;
-        piwikHelper.ajaxHandleError(deferred, status);
+
+        // do not display error message if request was aborted
+        if(status == 'abort') {
+            return;
+        }
+        $('#loadingError').show();
+        setTimeout( function(){
+            $('#loadingError').fadeOut('slow');
+        }, 2000);
     },
 
     /**
diff --git a/plugins/Zeitgeist/javascripts/piwikHelper.js b/plugins/Zeitgeist/javascripts/piwikHelper.js
index 385984a72a..f08f2c0d86 100644
--- a/plugins/Zeitgeist/javascripts/piwikHelper.js
+++ b/plugins/Zeitgeist/javascripts/piwikHelper.js
@@ -269,26 +269,6 @@ var piwikHelper = {
         window.location = url;
     },
 
-    /**
-     * Method to handle ajax errors
-     * @param {XMLHttpRequest} deferred
-     * @param {string} status
-     * @return {void}
-     * @deprecated sine 1.9.3 - will be removed in 2.0
-     * @see use ajaxHelper for ajax requests
-     */
-    ajaxHandleError: function(deferred, status)
-    {
-        // do not display error message if request was aborted
-        if(status == 'abort') {
-            return;
-        }
-        $('#loadingError').show();
-        setTimeout( function(){
-            $('#loadingError').fadeOut('slow');
-            }, 2000);
-    },
-
     /**
      * Scrolls the window to the jquery element 'elem'
      * if the top of the element is not currently visible on screen
-- 
GitLab