modules/admin-full: fix usage of network model in network controller
This commit is contained in:
parent
3b1f2e9021
commit
87fd9de5b6
1 changed files with 1 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue