Use LocalFile::getHookRunner instead of LocalFile::hookRunner
Do not depend on File::__get() Follow-Up: Iaa84edfe215e71d3d5fd814053d4b787652fa3b5 Change-Id: Ib344a2fa7681e176de863d99e8df13ec37eb143d
This commit is contained in:
parent
42d554c930
commit
226264adfa
1 changed files with 1 additions and 1 deletions
|
|
@ -1473,7 +1473,7 @@ class LocalFile extends File {
|
|||
}
|
||||
|
||||
// Purge any custom thumbnail caches
|
||||
$this->hookRunner->onLocalFilePurgeThumbnails( $this, $archiveName, $urls );
|
||||
$this->getHookRunner()->onLocalFilePurgeThumbnails( $this, $archiveName, $urls );
|
||||
|
||||
// Purge the CDN
|
||||
$hcu = MediaWikiServices::getInstance()->getHtmlCacheUpdater();
|
||||
|
|
|
|||
Loading…
Reference in a new issue