summaryrefslogtreecommitdiff
path: root/lib/mods/theme/core/util.lua
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-11 20:16:03 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-19 18:36:20 +0200
commitfe752bb67a2a43c49c3f1b6d25eb646b1f7d9847 (patch)
tree1dca78d86b906376d078f35b19a726290c36ceb0 /lib/mods/theme/core/util.lua
parent4b70bb3c271fc00a4e2246f31747a5020e72a9b2 (diff)
Lua: Remove dead "patches" code
Diffstat (limited to 'lib/mods/theme/core/util.lua')
-rw-r--r--lib/mods/theme/core/util.lua26
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/mods/theme/core/util.lua b/lib/mods/theme/core/util.lua
index 2d437d61..185c0982 100644
--- a/lib/mods/theme/core/util.lua
+++ b/lib/mods/theme/core/util.lua
@@ -20,32 +20,6 @@ end
set_safe_globals()
--- Patch modules
-__patch_modules = {}
-
-function patch_version(name, version)
- assert(not __patch_modules[name], "Patch " .. name .. " already loaded!!!")
- __patch_modules[name] = version
-end
-
-function patchs_list()
- local k, e, first
- first = FALSE
- for k, e in __patch_modules do
- if first == FALSE then print_hook("\n\n [Patch modules]\n") first = TRUE end
- print_hook("\n "..k.." version "..e)
- end
- if first == TRUE then print_hook("\n") end
-end
-
-function patchs_display()
- local k, e
- for k, e in __patch_modules do
- msg_print("Patch: "..k.." version "..e)
- end
-end
-
-
-- Better hook interface
__hooks_list_callback = {}
__hooks_list_callback_max = 0