From: Jo-Philipp Wich Date: Sat, 30 Oct 2010 02:31:43 +0000 (+0000) Subject: modules/admin-full: fix usage of network model in network controller X-Git-Tag: 0.10.0~556 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=87fd9de5b6e5cc2d319c896f4ab7b3ad0c56ae7e;p=oweals%2Fluci.git modules/admin-full: fix usage of network model in network controller --- diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua index 896b4be06..950285d58 100644 --- a/modules/admin-full/luasrc/controller/admin/network.lua +++ b/modules/admin-full/luasrc/controller/admin/network.lua @@ -156,7 +156,7 @@ end function wifi_delete(network) local ntm = require "luci.model.network".init() - ntm:del_network(network) + ntm:del_wifinet(network) ntm:save("wireless") luci.http.redirect(luci.dispatcher.build_url("admin/network/wireless"))