Removed unused global declaration of $wgFileStore and $wgUseSquid in RevisionDeleter::makeOldImagePrivate() and RevisionDeleter::makeOldImagePublic()
This commit is contained in:
parent
88248815af
commit
f9ca4518c2
1 changed files with 0 additions and 4 deletions
|
|
@ -1135,8 +1135,6 @@ class RevisionDeleter {
|
|||
* @returns mixed, timestamp string on success, false on failure
|
||||
*/
|
||||
function makeOldImagePrivate( $oimage ) {
|
||||
global $wgFileStore, $wgUseSquid;
|
||||
|
||||
$transaction = new FSTransaction();
|
||||
if( !FileStore::lock() ) {
|
||||
wfDebug( __METHOD__.": failed to acquire file store lock, aborting\n" );
|
||||
|
|
@ -1188,8 +1186,6 @@ class RevisionDeleter {
|
|||
* @returns mixed, string timestamp on success, false on failure
|
||||
*/
|
||||
function makeOldImagePublic( $oimage ) {
|
||||
global $wgFileStore;
|
||||
|
||||
$transaction = new FSTransaction();
|
||||
if( !FileStore::lock() ) {
|
||||
wfDebug( __METHOD__." could not acquire filestore lock\n" );
|
||||
|
|
|
|||
Loading…
Reference in a new issue