Skip to content

Commit

Permalink
Update as per robot overlords
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwhite4 committed Jan 14, 2020
1 parent 0dc48fe commit c06c855
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions classes/DataWarehouse/Access/RawData.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ public static function getRawDataRealms(XDUser $user)

foreach($raw->realms as $realmConfig)
{
if (property_exists($realmConfig, 'raw_data')) {
if ($realmConfig->raw_data === false) {
continue;
}
if (property_exists($realmConfig, 'raw_data') && $realmConfig->raw_data === false) {
continue;
}

if (in_array($realmConfig->name, $allowedRealms)) {
Expand Down

0 comments on commit c06c855

Please sign in to comment.