aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu/tab_mods.lua
diff options
context:
space:
mode:
authorElijah Duffy <enduffy2014@outlook.com>2017-07-14 11:37:58 -0700
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-07-14 20:37:58 +0200
commitdc3ca09e0e0e25f40cccae12c73830b0334ffb60 (patch)
tree25ce565ec4db341868754b004fe167c452950b50 /builtin/mainmenu/tab_mods.lua
parent32b68de65a303f0e063cb0d61a79ff7b4837ad7f (diff)
downloadminetest-dc3ca09e0e0e25f40cccae12c73830b0334ffb60.tar.gz
minetest-dc3ca09e0e0e25f40cccae12c73830b0334ffb60.tar.bz2
minetest-dc3ca09e0e0e25f40cccae12c73830b0334ffb60.zip
Remove remaining modstore code (#6120)
Diffstat (limited to 'builtin/mainmenu/tab_mods.lua')
-rw-r--r--builtin/mainmenu/tab_mods.lua21
1 files changed, 0 insertions, 21 deletions
diff --git a/builtin/mainmenu/tab_mods.lua b/builtin/mainmenu/tab_mods.lua
index 9510a9e18..d829c2cce 100644
--- a/builtin/mainmenu/tab_mods.lua
+++ b/builtin/mainmenu/tab_mods.lua
@@ -33,15 +33,6 @@ local function get_formspec(tabview, name, tabdata)
modmgr.render_modlist(modmgr.global_mods) ..
";" .. tabdata.selected_mod .. "]"
- retval = retval ..
--- "label[0.8,4.2;" .. fgettext("Add mod:") .. "]" ..
--- TODO Disabled due to upcoming release 0.4.8 and irrlicht messing up localization
--- "button[0.75,4.85;1.8,0.5;btn_mod_mgr_install_local;".. fgettext("Local install") .. "]" ..
-
--- TODO Disabled due to service being offline, and not likely to come online again, in this form
--- "button[0,4.85;5.25,0.5;btn_modstore;".. fgettext("Online mod repository") .. "]"
- ""
-
local selected_mod = nil
if filterlist.size(modmgr.global_mods) >= tabdata.selected_mod then
@@ -138,18 +129,6 @@ local function handle_buttons(tabview, fields, tabname, tabdata)
return true
end
- if fields["btn_modstore"] ~= nil then
- local modstore_ui = ui.find_by_name("modstore")
- if modstore_ui ~= nil then
- tabview:hide()
- modstore.update_modlist()
- modstore_ui:show()
- else
- print("modstore ui element not found")
- end
- return true
- end
-
if fields["btn_mod_mgr_rename_modpack"] ~= nil then
local dlg_renamemp = create_rename_modpack_dlg(tabdata.selected_mod)
dlg_renamemp:set_parent(tabview)