Skip to content
Snippets Groups Projects
Commit ab590ce9 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix undefined variable

parent 8b4d3c06
No related branches found
No related tags found
No related merge requests found
...@@ -265,7 +265,7 @@ class Updater extends BasicEmitter { ...@@ -265,7 +265,7 @@ class Updater extends BasicEmitter {
foreach ($apps as $appId) { foreach ($apps as $appId) {
if (\OC_App::shouldUpgrade($appId)) { if (\OC_App::shouldUpgrade($appId)) {
\OC_App::updateApp($appId); \OC_App::updateApp($appId);
$this->emit('\OC\Updater', 'appUpgrade', array($appId, $version)); $this->emit('\OC\Updater', 'appUpgrade', array($appId, \OC_App::getAppVersion($appId)));
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment