new-installer: WebInstaller's ->finish method needs to be public, not private
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Wed, 7 Jul 2010 10:55:53 +0000 (10:55 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Wed, 7 Jul 2010 10:55:53 +0000 (10:55 +0000)
commita1837b2526eed3f8218b87988ad8c708a8b31448
treeb98424889d5ebf844ac04884001da498aacd1bd6
parent8982df045923109abb39e48d659d75fd84a4225e
new-installer: WebInstaller's ->finish method needs to be public, not private

It's called from new-index.php if we can't start a session:

    $installer = new WebInstaller( $wgRequest );

    if ( !$installer->startSession() ) {
     $installer->finish();

Resulting in:

    [07-Jul-2010 10:37:00] PHP Fatal error:  Call to private method WebInstaller::finish() from context '' in /home/avar/g/phase3/config/new-index.php on line 12
includes/installer/WebInstaller.php