And while I'm a it: __FUNCTION__ -> __METHOD__
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 1 Oct 2010 16:04:07 +0000 (16:04 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 1 Oct 2010 16:04:07 +0000 (16:04 +0000)
maintenance/populateCategory.php

index aa79611..30cea73 100644 (file)
@@ -54,7 +54,7 @@ TEXT;
                                'updatelog',
                                '1',
                                array( 'ul_key' => 'populate category' ),
-                               __FUNCTION__
+                               __METHOD__
                        );
                        if ( $row ) {
                                $this->output( "Category table already populated.  Use php " .
@@ -80,7 +80,7 @@ TEXT;
                                'categorylinks',
                                'cl_to',
                                $where,
-                               __FUNCTION__,
+                               __METHOD__,
                                array(
                                        'ORDER BY' => 'cl_to'
                                )
@@ -111,7 +111,7 @@ TEXT;
                if ( $dbw->insert(
                                'updatelog',
                                array( 'ul_key' => 'populate category' ),
-                               __FUNCTION__,
+                               __METHOD__,
                                'IGNORE'
                        )
                ) {