dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Remove a bunch of trailing spaces and unneeded newlines"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialCachedPage.php
diff --git
a/includes/specials/SpecialCachedPage.php
b/includes/specials/SpecialCachedPage.php
index
f5e1134
..
b3f6c72
100644
(file)
--- a/
includes/specials/SpecialCachedPage.php
+++ b/
includes/specials/SpecialCachedPage.php
@@
-152,7
+152,9
@@
abstract class SpecialCachedPage extends SpecialPage implements ICacheHelper {
* @since 1.20
*/
public function saveCache() {
- $this->cacheHelper->saveCache();
+ if ( isset( $this->cacheHelper ) ) {
+ $this->cacheHelper->saveCache();
+ }
}
/**