Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Commit

Permalink
Vary messages when no results in chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Scheirlinck committed Jun 16, 2014
1 parent 58a066c commit 621e3a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Doxport/Action/Delete.php
Expand Up @@ -150,10 +150,9 @@ public function processClear(Walk $path, array $fields, array $joinFields)
}

if ($i > 0) {
// Remaining in current chunk
$this->flush($file, $i);
} elseif ($i == 0) {
$this->logger->notice('No results.');
$this->logger->notice('No results to delete');
}

$this->logger->notice('Done with {target}', ['target' => $walk->getTargetId()]);
Expand Down
3 changes: 1 addition & 2 deletions src/Doxport/Action/Export.php
Expand Up @@ -81,10 +81,9 @@ protected function processQuery(JoinWalk $walk)
$array = null;

if ($i > 0) {
// Remaining in current chunk
$this->flush($file, $clearFile);
} elseif ($i == 0) {
$this->logger->notice('No results.');
$this->logger->notice('No results for export');
}

$this->logger->notice('Done with {target}', ['target' => $walk->getTargetId()]);
Expand Down

0 comments on commit 621e3a5

Please sign in to comment.