summaryrefslogtreecommitdiffstats
path: root/lib/private/Updater.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-02-09 23:24:24 -0600
committerMorris Jobke <hey@morrisjobke.de>2017-02-09 23:24:24 -0600
commitb8c749b9036114739cfca48984acd054ddae509c (patch)
tree36c1ffa909ba3e8f9ef4f3d3a12d32dfac199d4f /lib/private/Updater.php
parent397feb9e8ddefcb04ac201bc64fa04ac9b41c7ca (diff)
downloadnextcloud-server-b8c749b9036114739cfca48984acd054ddae509c.tar.gz
nextcloud-server-b8c749b9036114739cfca48984acd054ddae509c.zip
Fix return value of getAllowedPreviousVersions()
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Updater.php')
-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;
}
/**