Skip to content

Commit

Permalink
Hack: Always run email outgoing regardless if its enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmackay committed Jun 14, 2016
1 parent 7beef75 commit 6e27bfe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions application/classes/Ushahidi/Console/Dataprovider.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ protected function executeOutgoing(InputInterface $input, OutputInterface $outpu
$providers = $this->get_providers($input, $output);
$limit = $input->getOption('limit');

// Hack: always include email no matter what!
if (!isset($providers['email'])) {
$providers['email'] = $this->repo->get('email');
}

$totals = [];
foreach ($providers as $id => $provider)
{
Expand Down

0 comments on commit 6e27bfe

Please sign in to comment.