Merge "Protected function UploadBase->validateName changed to public"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 5 Apr 2013 21:11:08 +0000 (21:11 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 5 Apr 2013 21:11:08 +0000 (21:11 +0000)
includes/upload/UploadBase.php

index 78c64e1..34af8ca 100644 (file)
@@ -331,7 +331,7 @@ abstract class UploadBase {
         * @return mixed true if valid, otherwise and array with 'status'
         * and other keys
         **/
-       protected function validateName() {
+       public function validateName() {
                $nt = $this->getTitle();
                if( is_null( $nt ) ) {
                        $result = array( 'status' => $this->mTitleError );