Fixed FileRepo::newGood handling of $value
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 11 Feb 2015 22:21:16 +0000 (14:21 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 11 Feb 2015 22:22:44 +0000 (22:22 +0000)
bug: T89296
Change-Id: Icc2cc058d99a972bc0b243c94c49326627aa89b5

includes/filerepo/FileRepo.php

index 0393416..d1a16b5 100644 (file)
@@ -1697,7 +1697,7 @@ class FileRepo {
         * @return Status
         */
        public function newGood( $value = null ) {
-               $status = Status::newGood( $this, $value );
+               $status = Status::newGood( $value );
                $status->cleanCallback = $this->getErrorCleanupFunction();
 
                return $status;