Fix depreciation warnings in FileBackend construction for ConfirmEdit

Modified getBackend() function to add values for WikiID and
lockmanager( array() )
Fixed spacing

Bug: 58614
Change-Id: I448579ac71809365d9f8c64eccfd2e08949f149d
This commit is contained in:
tonythomas01 2013-12-30 23:51:06 +05:30
parent 475b3c0a30
commit bcd0a3fc6c

View file

@ -14,7 +14,8 @@ class FancyCaptcha extends SimpleCaptcha {
if ( !$backend ) {
$backend = new FSFileBackend( array(
'name' => 'captcha-backend',
'lockManager' => 'nullLockManager',
'wikiId' => wfWikiId(),
'lockManager' => new NullLockManager( array() ),
'containerPaths' => array( 'captcha-render' => $wgCaptchaDirectory ),
'fileMode' => 777
) );