diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js
index e07a5cee49..8cd68962d4 100644
--- a/core/js/sharedialogview.js
+++ b/core/js/sharedialogview.js
@@ -32,10 +32,6 @@
'';
- var TEMPLATE_NO_SHARING =
- ''
- ;
-
/**
* @class OCA.Share.ShareDialogView
* @member {OC.Share.ShareItemModel} model