Index: branches/new-installer/phase3/includes/installer/WebInstaller.php |
— | — | @@ -1431,8 +1431,8 @@ |
1432 | 1432 | function getFileName() { return 'RELEASE-NOTES'; } |
1433 | 1433 | function getFileContents() { |
1434 | 1434 | $text = parent::getFileContents(); |
1435 | | - $text = preg_replace_callback('/\(bug (\d+)\)/', 'WebInstaller_ReleaseNotes::replaceBugLinks', $text ); |
1436 | | - $text = preg_replace_callback('/(\$wg[a-z0-9_]+)/i', 'WebInstaller_ReleaseNotes::replaceConfigLinks', $text ); |
| 1435 | + $text = preg_replace_callback('/\(bug (\d+)\)/', array( 'WebInstaller_ReleaseNotes', 'replaceBugLinks' ), $text ); |
| 1436 | + $text = preg_replace_callback('/(\$wg[a-z0-9_]+)/i', array( 'WebInstaller_ReleaseNotes', 'replaceConfigLinks' ), $text ); |
1437 | 1437 | return $text; |
1438 | 1438 | } |
1439 | 1439 | private static function replaceBugLinks( $matches ) { |