summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/functions.php b/functions.php
index b4af52a04..f3e6a62e7 100644
--- a/functions.php
+++ b/functions.php
@@ -3216,15 +3216,12 @@
if ($_SESSION["last_version_check"] + 86400 + rand(-1000, 1000) < time()) {
$new_version_details = @check_for_update($link);
- print "<param key=\"new_version_available\" value=\"".
- sprintf("%d", $new_version_details != ""). "\"/>";
+ $data['new_version_available'] = (int) $new_version_details != "";
$_SESSION["last_version_check"] = time();
}
}
-// print "<param key=\"new_version_available\" value=\"1\"/>";
-
return $data;
}