While refactoring BacklinkCache, it was noticed that there is a __sleep method even though it doesn't seem to be used anywhere. Git blame indicated that the last time BacklinkCache could've been potentially serialized was back in 2012 when Title used to save an instance of it. This is no longer the case. However, there is a slight possibility that it's used in a hidden corner of some extension out there, so the plan is to add a logger, wait a week to see if __sleep is ever hit, and if not, we can just remove it so we don't have to worry about it when refactoring and writing tests. Bug: T288278 Change-Id: Idb0f9985cb321cd53fea60d1fc94613c914e0de2 |
||
|---|---|---|
| .. | ||
| dependency | ||
| Hook | ||
| localisation | ||
| BacklinkCache.php | ||
| CacheKeyHelper.php | ||
| FileCacheBase.php | ||
| GenderCache.php | ||
| HtmlCacheUpdater.php | ||
| HTMLFileCache.php | ||
| LinkBatch.php | ||
| LinkBatchFactory.php | ||
| LinkCache.php | ||
| MessageCache.php | ||
| ResourceFileCache.php | ||
| UserCache.php | ||