diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-08-18 15:30:46 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-08-19 14:05:26 +0200 |
commit | 7842014a6823ce94338bbc2f942ad7ebd74a1247 (patch) | |
tree | b3755a33703d221aceee815db54a25230b17049e /lib | |
parent | 2facba644ea3d3494990e2e0bcae8aa9e4e7227c (diff) | |
download | nextcloud-server-7842014a6823ce94338bbc2f942ad7ebd74a1247.tar.gz nextcloud-server-7842014a6823ce94338bbc2f942ad7ebd74a1247.zip |
fix undefined variable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php index 520afb4d4aa..1d52f9be374 100644 --- a/lib/private/updater.php +++ b/lib/private/updater.php @@ -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))); } } } |