[Pkg-owncloud-commits] [owncloud] 50/153: Add message for converting to SQLite being unsupported.
David Prévot
taffit at moszumanska.debian.org
Tue May 27 03:05:34 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 5fe25868bcfd48cafe0fd569de13a593f6b46738
Author: Andreas Fischer <bantu at owncloud.com>
Date: Tue Apr 15 17:14:26 2014 +0200
Add message for converting to SQLite being unsupported.
---
core/command/db/converttype.php | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php
index cb6c700..cf867d9 100644
--- a/core/command/db/converttype.php
+++ b/core/command/db/converttype.php
@@ -110,6 +110,13 @@ class ConvertType extends Command {
protected function execute(InputInterface $input, OutputInterface $output) {
$type = $input->getArgument('type');
+ if ($this->connectionFactory->normalizeType($type) === 'sqlite3') {
+ $output->writeln(sprintf(
+ '<error>Converting to SQLite (sqlite3) is currently not supported.</error>',
+ $type
+ ));
+ return 1;
+ }
if ($type === $this->config->getValue('dbtype', '')) {
$output->writeln(sprintf(
'<error>Can not convert from %1$s to %1$s.</error>',
--
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