Skip to content

Commit

Permalink
Merge pull request #4115 from AllskyTeam/4114-remove-streamdaytime
Browse files Browse the repository at this point in the history
4114 remove streamDaytime
  • Loading branch information
EricClaeys authored Dec 24, 2024
2 parents ab9ed78 + b5d3e8d commit 9850b15
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions html/allsky/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,6 @@ function AppCtrl($scope, $timeout, $http, _) {
}
if (data.data.takedaytimeimages) {
$scope.takedaytimeimages = data.data.takedaytimeimages === "true";
// TODO: streamDaytime is old name - delete in next release
} else if (data.data.streamDaytime) {
$scope.takedaytimeimages = data.data.streamDaytime === "true";
} else {
$scope.takedaytimeimages = true;
usingDefaultTakingDaytime = true;
Expand Down
1 change: 0 additions & 1 deletion scripts/postData.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ if [[ ${SETTINGS_ONLY} == "false" ]]; then
echo "{"
echo "\"sunrise\": \"${today}T${sunrise_hhmm}:00.000${timezone}\","
echo "\"sunset\": \"${today}T${sunset_hhmm}:00.000${timezone}\","
echo "\"streamDaytime\": \"${D}\"", # TODO: old name - remove in next release
echo "\"takedaytimeimages\": \"${D}\"",
echo "\"takenighttimeimages\": \"${N}\""
echo "}"
Expand Down

0 comments on commit 9850b15

Please sign in to comment.