summaryrefslogtreecommitdiffstats
path: root/lib/private/updater.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-08-18 15:30:46 +0200
committerRobin Appelman <icewind@owncloud.com>2014-08-19 14:05:26 +0200
commit7842014a6823ce94338bbc2f942ad7ebd74a1247 (patch)
treeb3755a33703d221aceee815db54a25230b17049e /lib/private/updater.php
parent2facba644ea3d3494990e2e0bcae8aa9e4e7227c (diff)
downloadnextcloud-server-7842014a6823ce94338bbc2f942ad7ebd74a1247.tar.gz
nextcloud-server-7842014a6823ce94338bbc2f942ad7ebd74a1247.zip
fix undefined variable
Diffstat (limited to 'lib/private/updater.php')
-rw-r--r--lib/private/updater.php2
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)));
}
}
}