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
Style and IDEA warning cleanups
[lhc/web/wiklou.git]
/
includes
/
cache
/
HTMLFileCache.php
diff --git
a/includes/cache/HTMLFileCache.php
b/includes/cache/HTMLFileCache.php
index
bb78aa0
..
1bab0f5
100644
(file)
--- a/
includes/cache/HTMLFileCache.php
+++ b/
includes/cache/HTMLFileCache.php
@@
-30,13
+30,13
@@
*/
class HTMLFileCache extends FileCacheBase {
/**
*/
class HTMLFileCache extends FileCacheBase {
/**
- * Construct an ObjectFileCache from a Title and an action
+ * Construct an HTMLFileCache object from a Title and an action
+ *
+ * @deprecated since 1.24, instantiate this class directly
* @param Title|string $title Title object or prefixed DB key string
* @param string $action
* @throws MWException
* @return HTMLFileCache
* @param Title|string $title Title object or prefixed DB key string
* @param string $action
* @throws MWException
* @return HTMLFileCache
- *
- * @deprecated Since 1.24, instantiate this class directly
*/
public static function newFromTitle( $title, $action ) {
return new self( $title, $action );
*/
public static function newFromTitle( $title, $action ) {
return new self( $title, $action );
@@
-127,7
+127,7
@@
class HTMLFileCache extends FileCacheBase {
$ulang = $context->getLanguage();
// Check that there are no other sources of variation
$ulang = $context->getLanguage();
// Check that there are no other sources of variation
- if ( $user->getId() || $user->getNewtalk() || $ulang->equals( $wgContLang ) ) {
+ if ( $user->getId() || $user->getNewtalk() ||
!
$ulang->equals( $wgContLang ) ) {
return false;
}
// Allow extensions to disable caching
return false;
}
// Allow extensions to disable caching