Deprecate WikiRevision::$fileIsTemp and fix $isTemp
authoraddshore <addshorewiki@gmail.com>
Thu, 16 Mar 2017 10:09:03 +0000 (10:09 +0000)
committeraddshore <addshorewiki@gmail.com>
Tue, 21 Mar 2017 23:09:34 +0000 (23:09 +0000)
commitfd30abb59adc2aabf6b7427123983aa225bf869f
treed58274faa737f9ddf1fe1332b10e1e4a76bd90e9
parent1f6811eac28c280c22a3009abab269372fac7f16
Deprecate WikiRevision::$fileIsTemp and fix $isTemp

Cleanup from 43d5d3b682cc1733ad01a837d11af4a402d57e6a

This commit introduces both $fileIsTemp $isTemp
It would appear that the intent was to have one property here
and it looks like both of these are meant to do the same thing.

It also looks as if both public properties are actually unused
(only used by the getter and setters)

As isTemp will now sometimes return true line 766 $autoDeleteSource
will be true in new cases.
As a result $tmpFile->autocollect(); will be called in more cases

Change-Id: I8014172fb9fd7a0e4a89d0872bafdf6c50f92646
RELEASE-NOTES-1.29
includes/import/WikiRevision.php