diff --git a/QuestyCaptcha.class.php b/QuestyCaptcha.class.php index 635277af5..8e87db305 100644 --- a/QuestyCaptcha.class.php +++ b/QuestyCaptcha.class.php @@ -65,7 +65,7 @@ class QuestyCaptcha extends SimpleCaptcha { global $wgOut; $wgOut->setPageTitle( wfMsg( 'captchahelp-title' ) ); $wgOut->addWikiText( wfMsg( 'questycaptchahelp-text' ) ); - if ( $this->storage->cookiesNeeded() ) { + if ( CaptchaStore::get()->cookiesNeeded() ) { $wgOut->addWikiText( wfMsg( 'captchahelp-cookies-needed' ) ); } }