[Pkg-owncloud-commits] [owncloud] 100/121: Send feedback from upgrading apps to the upgrade ui

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 322cd65b9e1cc12069f3a91fbfdbc35fbff8d925
Author: Robin Appelman <icewind at owncloud.com>
Date:   Thu Jul 24 17:51:41 2014 +0200

    Send feedback from upgrading apps to the upgrade ui
---
 core/ajax/update.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/core/ajax/update.php b/core/ajax/update.php
index 698614c..627ada0 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -18,6 +18,12 @@ if (OC::checkUpgrade(false)) {
 	$updater->listen('\OC\Updater', 'dbSimulateUpgrade', function () use ($eventSource, $l) {
 		$eventSource->send('success', (string)$l->t('Checked database schema update'));
 	});
+	$updater->listen('\OC\Updater', 'appUpgradeCheck', function () use ($eventSource, $l) {
+		$eventSource->send('success', (string)$l->t('Checked database schema update for apps'));
+	});
+	$updater->listen('\OC\Updater', 'appUpgrade', function ($app, $version) use ($eventSource, $l) {
+		$eventSource->send('success', (string)$l->t('Updated "%s" to %s', array($app, $version)));
+	});
 	$updater->listen('\OC\Updater', 'disabledApps', function ($appList) use ($eventSource, $l) {
 		$list = array();
 		foreach ($appList as $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