Searched hist:"86 c04d87ee7a9a39ec8838fd53e3797f51949719" (Results 1 – 1 of 1) sorted by relevance
| /dokuwiki/inc/ |
| H A D | infoutils.php | 86c04d87ee7a9a39ec8838fd53e3797f51949719 Sat Oct 11 01:06:30 UTC 2014 Angus Gratton <gus@projectgus.com> Fix for update messages never completely going away
The existing logic for messages.txt requires some valid update response (ending in %) to the messages update check before it clears the current messages.
However update.dokuwiki.org appears to return an empty string response if everything is up to date. (ie http://update.dokuwiki.org/check/46.1 )
As a result if there are update messages in messages.txt they don't automatically go away after updating to the current version. The only time they change is when a newer release comes out. The upgrade plugin has logic in it to force a re-download of messages.txt, but currently this just re-downloads the old update messages.
This change explicitly allows for "" as a valid "no messages" indicator (distinct from false, which is the HTTP error indicator.)
|