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 maintenance script fixSlaveDesync.php"
[lhc/web/wiklou.git]
/
maintenance
/
cleanupPreferences.php
diff --git
a/maintenance/cleanupPreferences.php
b/maintenance/cleanupPreferences.php
index
c0a526b
..
06ae17f
100644
(file)
--- a/
maintenance/cleanupPreferences.php
+++ b/
maintenance/cleanupPreferences.php
@@
-23,7
+23,7
@@
* @ingroup Maintenance
*/
* @ingroup Maintenance
*/
-require_once
( __DIR__ . '/Maintenance.php' )
;
+require_once
__DIR__ . '/Maintenance.php'
;
/**
* Maintenance script that removes hidden preferences from the database.
/**
* Maintenance script that removes hidden preferences from the database.
@@
-36,7
+36,7
@@
class CleanupPreferences extends Maintenance {
$dbw = wfGetDB( DB_MASTER );
$dbw->begin( __METHOD__ );
$dbw = wfGetDB( DB_MASTER );
$dbw->begin( __METHOD__ );
- foreach( $wgHiddenPrefs as $item ) {
+ foreach
( $wgHiddenPrefs as $item ) {
$dbw->delete(
'user_properties',
array( 'up_property' => $item ),
$dbw->delete(
'user_properties',
array( 'up_property' => $item ),
@@
-49,4
+49,4
@@
class CleanupPreferences extends Maintenance {
}
$maintClass = 'CleanupPreferences'; // Tells it to run the class
}
$maintClass = 'CleanupPreferences'; // Tells it to run the class
-require_once
( RUN_MAINTENANCE_IF_MAIN )
;
+require_once
RUN_MAINTENANCE_IF_MAIN
;