From: Alexandre Emsenhuber Date: Fri, 1 Oct 2010 16:04:07 +0000 (+0000) Subject: And while I'm a it: __FUNCTION__ -> __METHOD__ X-Git-Tag: 1.31.0-rc.0~34714 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=b9aa772b48d10356ebfae3f45fa9a7fc83c13bd2;p=lhc%2Fweb%2Fwiklou.git And while I'm a it: __FUNCTION__ -> __METHOD__ --- diff --git a/maintenance/populateCategory.php b/maintenance/populateCategory.php index aa796111c9..30cea73a7f 100644 --- a/maintenance/populateCategory.php +++ b/maintenance/populateCategory.php @@ -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' ) ) {