Rename MonitorAnalysingOptions => AnalysingOptions as they will have to be prefixed with module name anyways.

This commit is contained in:
Isaac Connor 2022-02-08 11:19:36 -05:00
parent 524662e6c7
commit aad79d3407
1 changed files with 14 additions and 14 deletions

View File

@ -25,27 +25,27 @@ function getMonitorFunctionTypes() {
return $FunctionTypes; return $FunctionTypes;
} }
$MonitorCapturingOptions = null; $CapturingOptions = null;
function getMonitorCapturingOptions() { function getCapturingOptions() {
if (!isset($MonitorCapturingOptions)) { if (!isset($MonitorCapturingOptions)) {
$MonitorCapturingOptions = array( $CapturingOptions = array(
'None'=>translate('None'), 'None'=>translate('None'),
'Ondemand' => translate('On Demand'), 'Ondemand' => translate('On Demand'),
'Always' => translate('Always'), 'Always' => translate('Always'),
); );
} }
return $MonitorCapturingOptions; return $CapturingOptions;
} }
$MonitorAnalysingOptions = null; $AnalysingOptions = null;
function getMonitorAnalysingOptions() { function getAnalysingOptions() {
if (!isset($MonitorAnalysingOptions)) { if (!isset($AnalysingOptions)) {
$MonitorAnalysingOptions = array( $AnalysingOptions = array(
'None' => translate('None'), 'None' => translate('None'),
'Always' => translate('Always'), 'Always' => translate('Always'),
); );
} }
return $MonitorAnalysingOptions; return $AnalysingOptions;
} }
$MonitorAnalysisSourceOptions = null; $MonitorAnalysisSourceOptions = null;
@ -59,16 +59,16 @@ function getMonitorAnalysisSourceOptions() {
return $MonitorAnalysisSourceOptions; return $MonitorAnalysisSourceOptions;
} }
$MonitorRecordingOptions = null; $RecordingOptions = null;
function getMonitorRecordingOptions() { function getRecordingOptions() {
if (!isset($MonitorRecordingOptions)) { if (!isset($RecordingOptions)) {
$MonitorRecordingOptions = array( $RecordingOptions = array(
'None' => translate('None'), 'None' => translate('None'),
'OnMotion' => translate('On Motion'), 'OnMotion' => translate('On Motion'),
'Always' => translate('Always'), 'Always' => translate('Always'),
); );
} }
return $MonitorRecordingOptions; return $RecordingOptions;
} }
$MonitorRecordingSourceOptions = null; $MonitorRecordingSourceOptions = null;