r92710 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r92709
|
r92710
|
r92711
>
Date:
23:27, 20 July 2011
Author:
demon
Status:
ok
Tags:
Comment:
Revert DatabaseBase::tablePrefix() part of
r79272
: doesn't seem to be really necessary (tests are all still passing, Mysql && Sqlite) and as Tim points out this breaks anything trying to use it as an accessor rather than mutator.
Modified paths:
/trunk/phase3/includes/db/Database.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/db/Database.php
—
—
@@ -324,7 +324,7 @@
325
325
* @return The previous table prefix.
326
326
*/
327
327
function tablePrefix( $prefix = null ) {
328
- return wfSetVar( $this->mTablePrefix, $prefix, true );
328
+ return wfSetVar( $this->mTablePrefix, $prefix );
329
329
}
330
330
331
331
/**
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r79272
-Destroy the DB automatically when initting the DB...
soxred93
17:30, 30 December 2010
Status & tagging log
22:32, 22 July 2011
Platonides
(
talk
|
contribs
)
changed the
status
of r92710
[
removed:
new
added:
ok]