abstract out $data and name it 'sectionData'
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 29 Nov 2011 11:45:52 +0000 (11:45 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 29 Nov 2011 11:45:52 +0000 (11:45 +0000)
commit50900bd3f3a62b03b55969928a4cd388bf876509
tree6fee4de4068311944172b1d4bff9539cb0b763c4
parentfa2560fbde14a109c1a52fc7c878093688bff592
abstract out $data and name it 'sectionData'

Makes things easier to handle when calling other methods. This avoid method
with ton of parameters.
Also moved duplicate code that reset section data to a new clearSection()
method. Less lines makes code easier to read.

Follow r104549
tests/testHelpers.inc