Skip to content
Snippets Groups Projects
Commit d2d7bf0b authored by Christoph Schindler's avatar Christoph Schindler Committed by Andreas Gohr
Browse files

FS#2840 fix typo in debug message

parent 3bd5bd97
No related branches found
No related tags found
No related merge requests found
...@@ -26,13 +26,13 @@ function checkUpdateMessages(){ ...@@ -26,13 +26,13 @@ function checkUpdateMessages(){
// check if new messages needs to be fetched // check if new messages needs to be fetched
if($lm < time()-(60*60*24) || $lm < @filemtime(DOKU_INC.DOKU_SCRIPT)){ if($lm < time()-(60*60*24) || $lm < @filemtime(DOKU_INC.DOKU_SCRIPT)){
@touch($cf); @touch($cf);
dbglog("checkUpdatesMessages(): downloading messages.txt"); dbglog("checkUpdateMessages(): downloading messages.txt");
$http = new DokuHTTPClient(); $http = new DokuHTTPClient();
$http->timeout = 12; $http->timeout = 12;
$data = $http->get(DOKU_MESSAGEURL.$updateVersion); $data = $http->get(DOKU_MESSAGEURL.$updateVersion);
io_saveFile($cf,$data); io_saveFile($cf,$data);
}else{ }else{
dbglog("checkUpdatesMessages(): messages.txt up to date"); dbglog("checkUpdateMessages(): messages.txt up to date");
$data = io_readFile($cf); $data = io_readFile($cf);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment