Skip to content

Commit 0d169ac

Browse files
mpchadwickihor-sviziev
authored andcommitted
Add method to consult setting
1 parent e8965a8 commit 0d169ac

File tree

1 file changed

+10
-0
lines changed
  • app/code/Magento/NewRelicReporting/Model

1 file changed

+10
-0
lines changed

app/code/Magento/NewRelicReporting/Model/Config.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,16 @@ public function getNewRelicAppName()
161161
return (string)$this->scopeConfig->getValue('newrelicreporting/general/app_name');
162162
}
163163

164+
/**
165+
* Returns configured separate apps value
166+
*
167+
* @return bool
168+
*/
169+
public function isSeparateApps()
170+
{
171+
return (bool)$this->scopeConfig->getValue('newrelicreporting/general/separate_apps');
172+
}
173+
164174
/**
165175
* Returns config setting for overall cron to be enabled
166176
*

0 commit comments

Comments
 (0)