summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2019-06-07 22:12:20 +0200
committerSmallJoker <SmallJoker@users.noreply.github.com>2019-06-07 22:12:20 +0200
commit2ba6785f090bcf0dbc6fadb77a6ec0fab84d0690 (patch)
treee5709128e4a50253433177eaeb069d55b3854176 /builtin
parentcb00632e23a41d8d171631de9d85e168b251b80e (diff)
downloadminetest-2ba6785f090bcf0dbc6fadb77a6ec0fab84d0690.tar.gz
minetest-2ba6785f090bcf0dbc6fadb77a6ec0fab84d0690.tar.bz2
minetest-2ba6785f090bcf0dbc6fadb77a6ec0fab84d0690.zip
Remove modstore leftovers. Fix core.show_path_select_dialog documentation (#8572)
This was forgotten in #5852.
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu/tab_content.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/builtin/mainmenu/tab_content.lua b/builtin/mainmenu/tab_content.lua
index 362fcd8d3..336730bf4 100644
--- a/builtin/mainmenu/tab_content.lua
+++ b/builtin/mainmenu/tab_content.lua
@@ -153,11 +153,6 @@ local function handle_buttons(tabview, fields, tabname, tabdata)
return true
end
- if fields["btn_mod_mgr_install_local"] ~= nil then
- core.show_file_open_dialog("mod_mgt_open_dlg", fgettext("Select Package File:"))
- return true
- end
-
if fields["btn_contentdb"] ~= nil then
local dlg = create_store_dlg()
dlg:set_parent(tabview)
@@ -201,12 +196,6 @@ local function handle_buttons(tabview, fields, tabname, tabdata)
return true
end
- if fields["mod_mgt_open_dlg_accepted"] and
- fields["mod_mgt_open_dlg_accepted"] ~= "" then
- pkgmgr.install_mod(fields["mod_mgt_open_dlg_accepted"],nil)
- return true
- end
-
return false
end