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
Revert "(bug 24620) Add types to LogFormatter"
[lhc/web/wiklou.git]
/
maintenance
/
backupTextPass.inc
diff --git
a/maintenance/backupTextPass.inc
b/maintenance/backupTextPass.inc
index
84aac57
..
81e61b7
100644
(file)
--- a/
maintenance/backupTextPass.inc
+++ b/
maintenance/backupTextPass.inc
@@
-169,7
+169,7
@@
class TextPassDumper extends BackupDumper {
$this->xmlwriterobj = new XmlDumpWriter();
$input = fopen( $this->input, "rt" );
$this->xmlwriterobj = new XmlDumpWriter();
$input = fopen( $this->input, "rt" );
- $
result = $
this->readDump( $input );
+ $this->readDump( $input );
if ( $this->spawnProc ) {
$this->closeSpawn();
if ( $this->spawnProc ) {
$this->closeSpawn();
@@
-247,9
+247,9
@@
class TextPassDumper extends BackupDumper {
if ( $this->reporting ) {
$now = wfTimestamp( TS_DB );
if ( $this->reporting ) {
$now = wfTimestamp( TS_DB );
- $nowts =
wfTime(
);
- $deltaAll =
wfTime()
- $this->startTime;
- $deltaPart =
wfTime()
- $this->lastTime;
+ $nowts =
microtime( true
);
+ $deltaAll =
$nowts
- $this->startTime;
+ $deltaPart =
$nowts
- $this->lastTime;
$this->pageCountPart = $this->pageCount - $this->pageCountLast;
$this->revCountPart = $this->revCount - $this->revCountLast;
$this->pageCountPart = $this->pageCount - $this->pageCountLast;
$this->revCountPart = $this->revCount - $this->revCountLast;