Revision split __construct method
authoraddshore <addshorewiki@gmail.com>
Wed, 11 Oct 2017 12:57:47 +0000 (13:57 +0100)
committerLegoktm <legoktm@member.fsf.org>
Thu, 12 Oct 2017 01:07:46 +0000 (01:07 +0000)
commit34581a51c0874756861f00084317a4eb7b6152d4
treef150eb366245cc3f7028299ac2ba63db8d4952b3
parent288fb8cafaa14e5bacda9316536f36fe4425b8a4
Revision split __construct method

This makes the logic much easier to follow and each type of
construction easier to see.
This also emphisises the testing of construction being split
into row object vs array

Change-Id: Ie3aa6ec4c026f0249ccd438903fec27fcd266b67
includes/Revision.php
tests/phpunit/includes/RevisionTest.php