testing #29
| @@ -340,12 +340,12 @@ sub Weather_DeleteReadings { | |||||||
|     $forecastLimit = $forecastLimitNoForecast |     $forecastLimit = $forecastLimitNoForecast | ||||||
|       if ( !$forecastConfig->{daily} ); |       if ( !$forecastConfig->{daily} ); | ||||||
|     CommandDeleteReading( undef, |     CommandDeleteReading( undef, | ||||||
|         $name . ' ' . 'fc[' . $forecastLimit . '-9][0-9]?_.*' ); |         $name . ' ' . 'fc([' . $forecastLimit . '-9]|[0-9]{2})_.*' ); | ||||||
|  |  | ||||||
|     $forecastLimit = $forecastLimitNoForecast |     $forecastLimit = $forecastLimitNoForecast | ||||||
|       if ( !$forecastConfig->{hourly} ); |       if ( !$forecastConfig->{hourly} ); | ||||||
|     CommandDeleteReading( undef, |     CommandDeleteReading( undef, | ||||||
|         $name . ' ' . 'hfc[' . $forecastLimit . '-9][0-9]?_.*' ); |         $name . ' ' . 'hfc([' . $forecastLimit . '-9]|[0-9]{2})_.*' ); | ||||||
|  |  | ||||||
|     return; |     return; | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user