r108436 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r108435
|
r108436
|
r108437
>
Date:
17:49, 9 January 2012
Author:
nikerabbit
Status:
ok
Tags:
Comment:
Roan says we must invalidate user caches too
Modified paths:
/trunk/extensions/Narayam/maintenance/FixNarayamDisablePref.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/Narayam/maintenance/FixNarayamDisablePref.php
—
—
@@ -61,6 +61,13 @@
62
62
__METHOD__ );
63
63
$dbw->commit();
64
64
65
+ foreach ( $ids as $id ) {
66
+ $user = User::newFromID( $id );
67
+ if ( $user ) {
68
+ $user->invalidateCache();
69
+ }
70
+ }
71
+
65
72
wfWaitForSlaves( 10 );
66
73
}
67
74
Status & tagging log
07:26, 10 January 2012
Nikerabbit
(
talk
|
contribs
)
changed the
tags
for r108436
[
removed:
i18ndeploy]
17:50, 9 January 2012
Siebrand
(
talk
|
contribs
)
changed the
tags
for r108436
[
added:
i18ndeploy]
17:49, 9 January 2012
Catrope
(
talk
|
contribs
)
changed the
status
of r108436
[
removed:
new
added:
ok]