From c7d96917d0044b0b90ade9b34864e067bc6b05ad Mon Sep 17 00:00:00 2001
From: Nils Schneider <nils@nilsschneider.net>
Date: Fri, 14 Mar 2014 16:02:21 +0100
Subject: [PATCH] gluon-luci-autoupdater: remove branch settings

---
 .../usr/lib/lua/luci/model/cbi/admin/autoupdater.lua | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/package/gluon-luci-autoupdater/files/usr/lib/lua/luci/model/cbi/admin/autoupdater.lua b/package/gluon-luci-autoupdater/files/usr/lib/lua/luci/model/cbi/admin/autoupdater.lua
index 960fe4048..6800422b9 100644
--- a/package/gluon-luci-autoupdater/files/usr/lib/lua/luci/model/cbi/admin/autoupdater.lua
+++ b/package/gluon-luci-autoupdater/files/usr/lib/lua/luci/model/cbi/admin/autoupdater.lua
@@ -18,22 +18,14 @@ m.reset = "Zurücksetzen"
 m.pageaction = false
 m.template = "admin/expertmode"
 
-s = m:section(TypedSection, "autoupdater", "Einstellungen")
+s = m:section(TypedSection, "autoupdater", nil)
 s.addremove = false
+s.anonymous = true
 
 s:option(Flag, "enabled", "Aktivieren")
 f = s:option(ListValue, "branch", "Branch")
 
 uci.cursor():foreach("autoupdater", "branch", function (section) f:value(section[".name"]) end)
 
-s = m:section(TypedSection, "branch", "Branches")
-s.addremove = true
-
-s:option(DynamicList, "mirror", "Mirrors")
-s:option(Value, "probability", "Update Wahrscheinlichkeit")
-s:option(Value, "good_signatures", "Benötigte Signaturen")
-
-o = s:option(DynamicList, "pubkey", "Public Keys")
-
 return m
 
-- 
GitLab