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 efa8c1aef119b2772185c552ea5e61db19ec3116..951860f9be520291b96634449c1b204cf9f2f02a 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 },