mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-27 17:40:11 +00:00
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:
parent
475b3c0a30
commit
bcd0a3fc6c
|
@ -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
|
||||
) );
|
||||
|
|
Loading…
Reference in a new issue