summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2017-02-10 11:48:30 +0100
committerGitHub <noreply@github.com>2017-02-10 11:48:30 +0100
commitb4ade766656a2032f33d56eb4a0f17bb128af722 (patch)
tree5fa1a6cdc151accef18dabe6713b2794d407592f
parent4ea33fb453bdad99201619c002cd58df36bd3703 (diff)
parentb8c749b9036114739cfca48984acd054ddae509c (diff)
downloadnextcloud-server-b4ade766656a2032f33d56eb4a0f17bb128af722.tar.gz
nextcloud-server-b4ade766656a2032f33d56eb4a0f17bb128af722.zip
Merge pull request #3424 from nextcloud/fix-upgrade-path
Fix return value of getAllowedPreviousVersions()
-rw-r--r--lib/private/Updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Updater.php b/lib/private/Updater.php
index 3f4e54cf803..30a9a80cef4 100644
--- a/lib/private/Updater.php
+++ b/lib/private/Updater.php
@@ -163,7 +163,7 @@ class Updater extends BasicEmitter {
// this should really be a JSON file
require \OC::$SERVERROOT . '/version.php';
/** @var array $OC_VersionCanBeUpgradedFrom */
- return implode('.', $OC_VersionCanBeUpgradedFrom);
+ return $OC_VersionCanBeUpgradedFrom;
}
/**