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 "Make Special:ChangeContentModel field labels consistently use colons"
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
file
/
LocalFile.php
diff --git
a/includes/filerepo/file/LocalFile.php
b/includes/filerepo/file/LocalFile.php
index
6143c31
..
f3116e2
100644
(file)
--- a/
includes/filerepo/file/LocalFile.php
+++ b/
includes/filerepo/file/LocalFile.php
@@
-1946,8
+1946,8
@@
class LocalFile extends File {
// Now switch the object
$this->title = $target;
// Force regeneration of the name and hashpath
-
unset( $this->name )
;
-
unset( $this->hashPath )
;
+
$this->name = null
;
+
$this->hashPath = null
;
}
return $status;