Fix wrong static calls
authorSam Reed <reedy@users.mediawiki.org>
Fri, 18 Feb 2011 01:00:05 +0000 (01:00 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 18 Feb 2011 01:00:05 +0000 (01:00 +0000)
tests/phpunit/includes/Providers.php

index 90c9eb3..2d041ea 100644 (file)
@@ -32,8 +32,8 @@ class MediaWikiProvide {
        public function DaysMonths() {
                $ret = array();
 
-               $months = self::Months();
-               $days   = self::Days();
+               $months = $this->Months();
+               $days   = $this->Days();
                foreach( $months as $month) {
                        foreach( $days as $day ) {
                                $ret[] = array( $day[0], $month[0] );