summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-17 16:32:18 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-17 16:32:18 +0100
commitc64e827f00a7958da57a7a6d5aa22eb0900c167b (patch)
tree25caa64f26fd4860ada91c06204273a4688b7456
parent6248bad0f7b23c16049045ea150a11948b0ebeb1 (diff)
downloadnextcloud-server-c64e827f00a7958da57a7a6d5aa22eb0900c167b.tar.gz
nextcloud-server-c64e827f00a7958da57a7a6d5aa22eb0900c167b.zip
Since avatar.js is now essentially empty remove it
-rw-r--r--core/js/avatar.js5
-rw-r--r--lib/private/template.php1
2 files changed, 0 insertions, 6 deletions
diff --git a/core/js/avatar.js b/core/js/avatar.js
deleted file mode 100644
index 78b8c2a8cf5..00000000000
--- a/core/js/avatar.js
+++ /dev/null
@@ -1,5 +0,0 @@
-$(document).ready(function(){
- if (OC.currentUser) {
-
- }
-});
diff --git a/lib/private/template.php b/lib/private/template.php
index 04d6a906880..c2528c26851 100644
--- a/lib/private/template.php
+++ b/lib/private/template.php
@@ -119,7 +119,6 @@ class OC_Template extends \OC\Template\Base {
// avatars
if (\OC::$server->getSystemConfig()->getValue('enable_avatars', true) === true) {
- \OC_Util::addScript('avatar', null, true);
\OC_Util::addScript('jquery.avatar', null, true);
\OC_Util::addScript('placeholder', null, true);
}