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 "Restore 'PreferencesForm' as alias for 'PreferencesFormLegacy'"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiPurge.php
diff --git
a/includes/api/ApiPurge.php
b/includes/api/ApiPurge.php
index
b7cfc2c
..
bb0be68
100644
(file)
--- a/
includes/api/ApiPurge.php
+++ b/
includes/api/ApiPurge.php
@@
-26,7
+26,7
@@
use MediaWiki\MediaWikiServices;
* @ingroup API
*/
class ApiPurge extends ApiBase {
* @ingroup API
*/
class ApiPurge extends ApiBase {
- private $mPageSet;
+ private $mPageSet
= null
;
/**
* Purges the cache of a page
/**
* Purges the cache of a page
@@
-132,7
+132,7
@@
class ApiPurge extends ApiBase {
* @return ApiPageSet
*/
private function getPageSet() {
* @return ApiPageSet
*/
private function getPageSet() {
- if (
!isset( $this->mPageSet )
) {
+ if (
$this->mPageSet === null
) {
$this->mPageSet = new ApiPageSet( $this );
}
$this->mPageSet = new ApiPageSet( $this );
}