Skip to content

Commit

Permalink
unused variable is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
gymad committed Jan 11, 2019
1 parent 639ca36 commit 0fa28b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/Emails/include/ListView/ListViewDataEmails.php
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,6 @@ public function getListViewData(
global $current_user;
global $sugar_config;
global $mod_strings;
global $app_strings;

$data = array();
$pageData = array();
Expand All @@ -742,7 +741,7 @@ public function getListViewData(
$folderObj = new Folder();
$folderObj->retrieveFromRequest($request);

$inboundEmail = $this->getInboundEmail($current_user, $folderObj);
$inboundEmail = $this->getInboundEmail($current_user, $folderObj);
if (!$inboundEmail || $inboundEmail && !$inboundEmail->id) {
LoggerManager::getLogger()->warn('Unable get Inbound Email for List View. Please check your settings and try again.');
//return false;
Expand Down

0 comments on commit 0fa28b0

Please sign in to comment.