We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1b2d8c commit 231be03Copy full SHA for 231be03
functions.php
@@ -103,7 +103,7 @@ function alert(){
103
throw new Exception('alert not configured');
104
}
105
if (file_exists($this->getAlertFilePath())){
106
- if (date('d', filemtime($this->getAlertFilePath())) != date('d')){
+ if (date('H', filemtime($this->getAlertFilePath())) != date('H')){
107
unlink($this->getAlertFilePath());
108
}else{
109
return;
0 commit comments