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
Fixed bogus function call.
[lhc/web/wiklou.git]
/
maintenance
/
cleanupPreferences.php
diff --git
a/maintenance/cleanupPreferences.php
b/maintenance/cleanupPreferences.php
index
3539689
..
c0a526b
100644
(file)
--- a/
maintenance/cleanupPreferences.php
+++ b/
maintenance/cleanupPreferences.php
@@
-35,7
+35,7
@@
class CleanupPreferences extends Maintenance {
global $wgHiddenPrefs;
$dbw = wfGetDB( DB_MASTER );
global $wgHiddenPrefs;
$dbw = wfGetDB( DB_MASTER );
- $dbw->begin();
+ $dbw->begin(
__METHOD__
);
foreach( $wgHiddenPrefs as $item ) {
$dbw->delete(
'user_properties',
foreach( $wgHiddenPrefs as $item ) {
$dbw->delete(
'user_properties',
@@
-43,7
+43,7
@@
class CleanupPreferences extends Maintenance {
__METHOD__
);
};
__METHOD__
);
};
- $dbw->commit();
+ $dbw->commit(
__METHOD__
);
$this->output( "Finished!\n" );
}
}
$this->output( "Finished!\n" );
}
}