]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix undefined variable
authorRobin Appelman <icewind@owncloud.com>
Mon, 18 Aug 2014 13:30:46 +0000 (15:30 +0200)
committerRobin Appelman <icewind@owncloud.com>
Mon, 18 Aug 2014 13:30:46 +0000 (15:30 +0200)
lib/private/updater.php

index 520afb4d4aa5ef8de6b0c602a58b346563153842..1d52f9be3748f79f9b1e4fb98aa6da6ccfbf0f52 100644 (file)
@@ -265,7 +265,7 @@ class Updater extends BasicEmitter {
                foreach ($apps as $appId) {
                        if (\OC_App::shouldUpgrade($appId)) {
                                \OC_App::updateApp($appId);
-                               $this->emit('\OC\Updater', 'appUpgrade', array($appId, $version));
+                               $this->emit('\OC\Updater', 'appUpgrade', array($appId, \OC_App::getAppVersion($appId)));
                        }
                }
        }