Revision: 43662
Author:   tstarling
Date:     2008-11-18 05:58:24 +0000 (Tue, 18 Nov 2008)

Log Message:
-----------
Mark the functions I just accessed from outside the class as explicitly "public"

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialUpload.php

Modified: trunk/phase3/includes/specials/SpecialUpload.php
===================================================================
--- trunk/phase3/includes/specials/SpecialUpload.php    2008-11-18 05:57:08 UTC 
(rev 43661)
+++ trunk/phase3/includes/specials/SpecialUpload.php    2008-11-18 05:58:24 UTC 
(rev 43662)
@@ -1277,7 +1277,7 @@
         *
         * @return array
         */
-       function splitExtensions( $filename ) {
+       public function splitExtensions( $filename ) {
                $bits = explode( '.', $filename );
                $basename = array_shift( $bits );
                return array( $basename, $bits );
@@ -1303,7 +1303,7 @@
         * @param array $list
         * @return bool
         */
-       function checkFileExtensionList( $ext, $list ) {
+       public function checkFileExtensionList( $ext, $list ) {
                foreach( $ext as $e ) {
                        if( in_array( strtolower( $e ), $list ) ) {
                                return true;



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to