diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-08-18 15:30:46 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-08-18 15:30:46 +0200 |
commit | ab590ce9a06cf8803eeef9555c66b20bea58041d (patch) | |
tree | 08e5254d504104307e2a0de790ac634e52c2ece5 | |
parent | 8b4d3c065c016971b381d1ae077bab0e4e74e4af (diff) | |
download | nextcloud-server-ab590ce9a06cf8803eeef9555c66b20bea58041d.tar.gz nextcloud-server-ab590ce9a06cf8803eeef9555c66b20bea58041d.zip |
fix undefined variable
-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))); } } } |