Skip to content
Snippets Groups Projects
Unverified Commit 653c1320 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-web-model: remove unused Section attribute "fields"

parent a2be178c
No related branches found
No related tags found
No related merge requests found
...@@ -171,7 +171,6 @@ Section = class(Node) ...@@ -171,7 +171,6 @@ Section = class(Node)
function Section:__init__(...) function Section:__init__(...)
Node.__init__(self, ...) Node.__init__(self, ...)
self.fields = {}
self.template = "model/section" self.template = "model/section"
end end
...@@ -180,7 +179,6 @@ function Section:option(t, option, title, description, ...) ...@@ -180,7 +179,6 @@ function Section:option(t, option, title, description, ...)
local obj = t(title, description, option, ...) local obj = t(title, description, option, ...)
self:append(obj) self:append(obj)
self.fields[option] = obj
return obj return obj
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment