|
@@ -17,7 +17,7 @@
|
|
|
|
|
|
The Initial Developer of the Original Code is
|
|
|
Mark J Crane <[email protected]>
|
|
|
- Portions created by the Initial Developer are Copyright (C) 2008-2016
|
|
|
+ Portions created by the Initial Developer are Copyright (C) 2008-2018
|
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
|
|
Contributor(s):
|
|
@@ -97,14 +97,7 @@
|
|
|
if ($do["apps"] && permission_exists("upgrade_apps")) {
|
|
|
require_once "resources/classes/domains.php";
|
|
|
$domain = new domains;
|
|
|
- ob_start();
|
|
|
- $domain->display_type = 'text';
|
|
|
$domain->upgrade();
|
|
|
- $_SESSION["response"]["upgrade_apps"] = ob_get_flush();
|
|
|
- if (strlen($_SESSION["response"]["upgrade_apps"]) == 0) {
|
|
|
- $_SESSION["response"]["upgrade_apps"] = "No items updated or added";
|
|
|
- }
|
|
|
- $_SESSION["response"]["upgrade_apps"] = explode("\n", $_SESSION["response"]["upgrade_apps"]);
|
|
|
messages::add($text['message-upgrade_apps'], null, $message_timeout);
|
|
|
}
|
|
|
|
|
@@ -271,4 +264,5 @@
|
|
|
|
|
|
//include the footer
|
|
|
require_once "resources/footer.php";
|
|
|
+
|
|
|
?>
|