diff --git a/core/js/js.js b/core/js/js.js
index 8e7796143d5ab557b66b719900f96677c3a499cd..2527f474ea345b7dc5f464757d303c640e5b978d 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -2423,13 +2423,6 @@ jQuery.fn.exists = function(){
 	return this.length > 0;
 };
 
-/**
- * @deprecated use OC.Util.getScrollBarWidth() instead
- */
-function getScrollBarWidth() {
-	return OC.Util.getScrollBarWidth();
-}
-
 /**
  * jQuery tipsy shim for the bootstrap tooltip
  */