Make the version a string

This commit is contained in:
Joas Schilling 2016-04-06 15:41:25 +02:00
parent b87b27cbd9
commit e5bec54e4e
No known key found for this signature in database
GPG Key ID: 70A0B324C41C0946
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class Upgrade extends Base {
if ($input->isInteractive()) {
$installedVersion = $this->config->getSystemValue('version', '0.0.0');
$currentVersion = \OCP\Util::getVersion();
$currentVersion = implode('.', \OCP\Util::getVersion());
$releaseNotesArray = $this->releaseNotes->getReleaseNotes($installedVersion, $currentVersion);
if (!empty($releaseNotesArray)) {