Fix magic getter for $status->ok
authorMark Holmquist <mtraceur@member.fsf.org>
Fri, 13 Feb 2015 17:29:58 +0000 (11:29 -0600)
committerGergő Tisza <tgr.huwiki@gmail.com>
Sat, 14 Feb 2015 00:05:41 +0000 (00:05 +0000)
commit7a8440210874d265a73468607647eb9910ba80a5
tree914fbaefdb066350f60be09720c4e49f034e6ae8
parente2379561fab58f9eedd63d73ccc93fe1c0b772e6
Fix magic getter for $status->ok

__get called a non-existant function which caused errors
in file deletion.

Also adds tests for $status->ok and $status->errors

Change-Id: I8f5a21eb8d795e5e3f5a58f2384ad0dcbad749a2
includes/Status.php
tests/phpunit/includes/StatusTest.php