From 0ab1280d6b7f1311ed45136c7aae68f597ea5fc4 Mon Sep 17 00:00:00 2001 From: vishnu Date: Fri, 27 Dec 2013 23:25:47 +0530 Subject: [PATCH] Fix depreciation warnings in FileBackend construction Added wikiId and lockManager was changed to an object Bug: 58615 Change-Id: Id3bdc7e6bc3951db4753553da03193783f0bd7c8 --- MathTexvc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MathTexvc.php b/MathTexvc.php index 6f83a98..23bc40e 100644 --- a/MathTexvc.php +++ b/MathTexvc.php @@ -272,7 +272,8 @@ class MathTexvc extends MathRenderer { if ( !$backend ) { $backend = new FSFileBackend( array( 'name' => 'math-backend', - 'lockManager' => 'nullLockManager', + 'wikiId' => wfWikiId(), + 'lockManager' => new NullLockManager(array() ), 'containerPaths' => array( 'math-render' => $wgMathDirectory ), 'fileMode' => 0777 ) );