Revised design of Special:Userlogin
[lhc/web/wiklou.git] / 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 );