Unstub the passed object when calling unstub()
authorJackmcbarn <jackmcbarn@gmail.com>
Mon, 7 Jul 2014 19:36:44 +0000 (15:36 -0400)
committerJackmcbarn <jackmcbarn@gmail.com>
Mon, 7 Jul 2014 19:37:45 +0000 (15:37 -0400)
commit0d847cb55d8e9c3c0f40827828472fd9b25e1018
tree2107168c71806f5e4b86951a214be414ec33ba5f
parent65207f2ba4780bd030a09ffba1940d463b007317
Unstub the passed object when calling unstub()

Previously, only the global was unstubbed when StubObject::unstub() was
called. Now, the object given as a parameter will also be unstubbed.
(What about other references to the object, though?)

Change-Id: I431ddd61e24686fc2f014c30064808ce57fe1706
includes/StubObject.php