remove old weather modules

This commit is contained in:
Karsten Hassel 2022-09-21 22:44:59 +02:00
parent e917f40542
commit f23e604ed4
4 changed files with 5 additions and 67 deletions

View File

@ -16,6 +16,10 @@ _This release is scheduled to be released on 2022-10-01._
- New `showTimeToday` option in calendar module shows time for current-day events even if `timeFormat` is `"relative"`
- Add hourly forecasts, apparent temperature & custom location name to SMHI weather provider
## Removed
- old weather modules `currentweather` and `weatherforecast`
## Updated
- Removed DAYAFTERTOMORROW from English

View File

@ -1,33 +0,0 @@
/* eslint-disable */
/* MagicMirror²
* Module: CurrentWeather
*
* By Michael Teeuw https://michaelteeuw.nl
* MIT Licensed.
*
* This module is deprecated. Any additional feature will no longer be merged.
*/
Module.register("currentweather", {
// Define start sequence.
start: function () {
Log.info("Starting module: " + this.name);
},
// Override dom generator.
getDom: function () {
var wrapper = document.createElement("div");
wrapper.className = this.config.tableClass;
wrapper.innerHTML =
"<style>text-decoration: none</style>" +
"This module is deprecated since release v2.15 and removed with v2.19." +
'<br>Please use the `weather` module as replacement, more info in the <a href="https://docs.magicmirror.builders/modules/weather.html" style="color: #ffffff">documentation</a>.';
wrapper.className = "dimmed light small";
return wrapper;
},
// Override getHeader method.
getHeader: function () {
return "deprecated currentweather";
}
});

View File

@ -4,7 +4,7 @@
* By Michael Teeuw https://michaelteeuw.nl
* MIT Licensed.
*/
const defaultModules = ["alert", "calendar", "clock", "compliments", "currentweather", "helloworld", "newsfeed", "weatherforecast", "updatenotification", "weather"];
const defaultModules = ["alert", "calendar", "clock", "compliments", "helloworld", "newsfeed", "updatenotification", "weather"];
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {

View File

@ -1,33 +0,0 @@
/* eslint-disable */
/* MagicMirror²
* Module: CurrentWeather
*
* By Michael Teeuw https://michaelteeuw.nl
* MIT Licensed.
*
* This module is deprecated. Any additional feature will no longer be merged.
*/
Module.register("weatherforecast", {
// Define start sequence.
start: function () {
Log.info("Starting module: " + this.name);
},
// Override dom generator.
getDom: function () {
var wrapper = document.createElement("div");
wrapper.className = this.config.tableClass;
wrapper.innerHTML =
"<style>text-decoration: none</style>" +
"This module is deprecated since release v2.15 and removed with v2.19." +
'<br>Please use the `weather` module as replacement, more info in the <a href="https://docs.magicmirror.builders/modules/weather.html" style="color: #ffffff">documentation</a>.';
wrapper.className = "dimmed light small";
return wrapper;
},
// Override getHeader method.
getHeader: function () {
return "deprecated weatherforecast";
}
});