From d0401306b6230f308bd2489cb3785120ff34eadc Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 6 Mar 2013 15:19:23 -0800 Subject: [PATCH] Made syncFileBackend.php clearer with handling --postime. Change-Id: I9462fb2aeef0597c3a7a0d1b0b4856ffea2460f6 --- maintenance/syncFileBackend.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maintenance/syncFileBackend.php b/maintenance/syncFileBackend.php index a93ad7992d..8f6e41929d 100644 --- a/maintenance/syncFileBackend.php +++ b/maintenance/syncFileBackend.php @@ -57,10 +57,11 @@ class SyncFileBackend extends Maintenance { } if ( $this->hasOption( 'postime' ) ) { $id = (int)$src->getJournal()->getPositionAtTime( $this->getOption( 'postime' ) ); + $this->output( "Requested journal position is $id.\n" ); } else { $id = (int)$src->getJournal()->getCurrentPosition(); + $this->output( "Current journal position is $id.\n" ); } - $this->output( "Current journal position is $id.\n" ); if ( file_put_contents( $posFile, $id, LOCK_EX ) !== false ) { $this->output( "Saved journal position file.\n" ); } else { -- 2.20.1