provide backwards compatibility in the lua module after the history -> delta change
authorFelix Fietkau <nbd@openwrt.org>
Fri, 20 Aug 2010 18:45:04 +0000 (20:45 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 20 Aug 2010 18:45:04 +0000 (20:45 +0200)
lua/uci.c

index efa8c1a..951860f 100644 (file)
--- a/lua/uci.c
+++ b/lua/uci.c
@@ -902,6 +902,7 @@ static const luaL_Reg uci[] = {
        { "reorder", uci_lua_reorder },
        { "changes", uci_lua_changes },
        { "foreach", uci_lua_foreach },
+       { "add_history", uci_lua_add_delta },
        { "add_delta", uci_lua_add_delta },
        { "load_plugins", uci_lua_load_plugins },
        { "get_confdir", uci_lua_get_confdir },