Use $installedVersion instead of $currentVersion
Merge pull request #7611 from owncloud/fix-updater

Use $installedVersion instead of $currentVersion