Skip to content

Commit b3dd024

Browse files
committed
[GT-187] Change Name to site ONLY
1 parent a87a37c commit b3dd024

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

htdocs/web_portal/controllers/downtime/add_downtime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function submit(\User $user = null) {
103103
unset($downtimeInfo['IMPACTED_IDS']);
104104

105105
if (!count($siteLevelDetails) > 1) {
106-
$downtimeInfo['SINGLE_TIMEZONE'] = true;
106+
$downtimeInfo['SINGLE_SITE'] = true;
107107
}
108108

109109
list(

htdocs/web_portal/controllers/downtime/downtime_utils.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,12 @@ function unsetVariables($downtimeObj, $fromLocation)
157157
{
158158
if ($fromLocation == "add") {
159159
unset($downtimeObj['SERVICE_WITH_ENDPOINTS']);
160-
unset($downtimeObj['SINGLE_TIMEZONE']);
160+
unset($downtimeObj['SINGLE_SITE']);
161161
} else {
162162
unset($downtimeObj['DOWNTIME']['EXISTINGID']);
163163
unset($downtimeObj['isEdit']);
164164
unset($downtimeObj['SERVICE_WITH_ENDPOINTS']);
165-
unset($downtimeObj['SINGLE_TIMEZONE']);
165+
unset($downtimeObj['SINGLE_SITE']);
166166
}
167167

168168
return $downtimeObj;

htdocs/web_portal/controllers/downtime/edit_downtime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function submit(\User $user = null) {
118118
unset($downtimeInfo['IMPACTED_IDS']);
119119

120120
if (!count($siteLevelDetails) > 1) {
121-
$downtimeInfo['SINGLE_TIMEZONE'] = true;
121+
$downtimeInfo['SINGLE_SITE'] = true;
122122
}
123123

124124
list(

htdocs/web_portal/views/downtime/confirm_add_downtime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
echo 'Please review your ';
2222

2323
if (!($edit)) {
24-
if ($params['SINGLE_TIMEZONE']) {
24+
if ($params['SINGLE_SITE']) {
2525
echo 'chosen site and the downtime ';
2626
} else {
2727
echo 'chosen sites and their downtimes ';

0 commit comments

Comments
 (0)