diff --git a/seahub/templates/home_base.html b/seahub/templates/home_base.html
index 5408b2b630..338e8ca099 100644
--- a/seahub/templates/home_base.html
+++ b/seahub/templates/home_base.html
@@ -23,7 +23,6 @@
{% endfor %}
{% trans "Messages" %}
{% trans "Devices" %}
- {% trans "Contacts" %}
{% trans "Share Admin" %}
diff --git a/seahub/templates/js/templates.html b/seahub/templates/js/templates.html
index 83ec714f28..f166f6a284 100644
--- a/seahub/templates/js/templates.html
+++ b/seahub/templates/js/templates.html
@@ -520,9 +520,6 @@
{% trans "Messages" %}
{% trans "Devices" %}
- <% if (show_contacts_tab) { %>
- {% trans "Contacts" %}
- <% } %>
{% trans "Share Admin" %}
diff --git a/seahub/templates/libraries.html b/seahub/templates/libraries.html
index b99379d1bc..c6cf378a9e 100644
--- a/seahub/templates/libraries.html
+++ b/seahub/templates/libraries.html
@@ -252,8 +252,6 @@ app["pageOptions"] = {
events_enabled: {% if events_enabled %} true {% else %} false {% endif %},
can_add_repo: {% if user.permissions.can_add_repo %} true {% else %} false {% endif %},
is_staff: {% if request.user.is_staff %} true {% else %} false {% endif %},
- is_cloud_mode: {% if request.cloud_mode %} true {% else %} false {% endif %},
- enable_global_addressbook: {% if enable_global_addressbook %} true {% else %} false {% endif %},
repo_password_min_length: {{ repo_password_min_length }},
guide_enabled: {% if guide_enabled %} true {% else %} false {% endif %},
enable_upload_folder: {% if enable_upload_folder %} true {% else %} false {% endif %},
diff --git a/seahub/templates/myhome.html b/seahub/templates/myhome.html
index a5cde38f4c..83dd2eb61d 100644
--- a/seahub/templates/myhome.html
+++ b/seahub/templates/myhome.html
@@ -43,7 +43,6 @@
{% endfor %}
{% trans "Messages" %}
{% trans "Devices" %}
- {% trans "Contacts" %}
{% trans "Share Admin" %}
diff --git a/seahub/views/__init__.py b/seahub/views/__init__.py
index d94da2038c..bbbd7d4c47 100644
--- a/seahub/views/__init__.py
+++ b/seahub/views/__init__.py
@@ -1173,7 +1173,6 @@ def libraries(request):
"guide_enabled": guide_enabled,
"sub_lib_enabled": sub_lib_enabled,
'enable_upload_folder': settings.ENABLE_UPLOAD_FOLDER,
- 'enable_global_addressbook': settings.ENABLE_GLOBAL_ADDRESSBOOK,
'max_upload_file_size': max_upload_file_size,
'folder_perm_enabled': folder_perm_enabled,
}, context_instance=RequestContext(request))
diff --git a/static/scripts/app/views/myhome-side-nav.js b/static/scripts/app/views/myhome-side-nav.js
index 77ba47edaa..f4d505cdbf 100644
--- a/static/scripts/app/views/myhome-side-nav.js
+++ b/static/scripts/app/views/myhome-side-nav.js
@@ -16,16 +16,9 @@ define([
},
render: function(cur_tab) {
- var show_contacts_tab = false;
-
- if (app.pageOptions.is_cloud_mode && !app.pageOptions.enable_global_addressbook) {
- show_contacts_tab = true;
- }
-
this.$el.html(this.template({
'mods_enabled': app.pageOptions.user_mods_enabled,
'can_add_repo': app.pageOptions.can_add_repo,
- 'show_contacts_tab': show_contacts_tab,
'events_enabled': app.pageOptions.events_enabled
}));
this.$el.find('li').removeClass('tab-cur');