self-update: update up to date prompt

master
Andrew Dolgov 12 years ago
parent 27211afe92
commit 1280612515

@ -510,7 +510,7 @@ class Pref_Prefs extends Handler_Protected {
__('Update Tiny Tiny RSS')."</button></p>"; __('Update Tiny Tiny RSS')."</button></p>";
} else { } else {
print_notice(__("You are currently using latest version of Tiny Tiny RSS. Update not required.")); print_notice(__("Your Tiny Tiny RSS installation is up to date."));
} }
print "</div>"; #pane print "</div>"; #pane

@ -45,7 +45,7 @@
_debug("Target version: $target_version"); _debug("Target version: $target_version");
if (version_compare(VERSION, $target_version) != -1 && !$force) { if (version_compare(VERSION, $target_version) != -1 && !$force) {
_debug("You are on the latest version. Update not needed."); _debug("Your Tiny Tiny RSS installation is up to date.");
exit; exit;
} }
if (file_exists($target_dir)) { if (file_exists($target_dir)) {

Loading…
Cancel
Save