[Pkg-owncloud-commits] [owncloud] 104/121: fix undefined variable

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 16:44:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 7842014a6823ce94338bbc2f942ad7ebd74a1247
Author: Robin Appelman <icewind at owncloud.com>
Date:   Mon Aug 18 15:30:46 2014 +0200

    fix undefined variable
---
 lib/private/updater.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/updater.php b/lib/private/updater.php
index 520afb4..1d52f9b 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)));
 			}
 		}
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list