[Pkg-owncloud-commits] [owncloud] 41/153: Improve message about tables not going to be converted. Mention --all-apps option.

David Prévot taffit at moszumanska.debian.org
Tue May 27 03:05:33 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 731571491f04c9a836b5f413d13f67571f1fe0b9
Author: Andreas Fischer <bantu at owncloud.com>
Date:   Fri Apr 11 21:40:45 2014 +0200

    Improve message about tables not going to be converted. Mention --all-apps option.
---
 core/command/db/converttype.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php
index 1701459..47e824a 100644
--- a/core/command/db/converttype.php
+++ b/core/command/db/converttype.php
@@ -131,7 +131,12 @@ class ConvertType extends Command {
 		// warn/fail if there are more tables in 'from' database
 		$tables = array_diff($fromTables, $toTables);
 		if (!empty($tables)) {
-			$output->writeln('<error>The following tables do NOT exist any more: '.join(', ', $tables).'</error>');
+			$output->writeln('<comment>The following tables will not be converted:</comment>');
+			$output->writeln($tables);
+			if (!$input->getOption('all-apps')) {
+				$output->writeln('<comment>Please note that tables belonging to available but currently not installed apps</comment>');
+				$output->writeln('<comment>can be included by specifying the --all-apps option.</comment>');
+			}
 			/** @var $dialog \Symfony\Component\Console\Helper\DialogHelper */
 			$dialog = $this->getHelperSet()->get('dialog');
 			if (!$dialog->askConfirmation(

-- 
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