[Pkg-owncloud-commits] [owncloud] 60/153: Store normalised DBMS type in $type.
David Prévot
taffit at moszumanska.debian.org
Tue May 27 03:05:36 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 de78be3891c7a44699dab7d276276061dd62586b
Author: Andreas Fischer <bantu at owncloud.com>
Date: Fri May 9 12:31:08 2014 +0200
Store normalised DBMS type in $type.
---
core/command/db/converttype.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php
index 4f3afb9..8093749 100644
--- a/core/command/db/converttype.php
+++ b/core/command/db/converttype.php
@@ -93,8 +93,8 @@ class ConvertType extends Command {
}
protected function validateInput(InputInterface $input, OutputInterface $output) {
- $type = $input->getArgument('type');
- if ($this->connectionFactory->normalizeType($type) === 'sqlite3') {
+ $type = $this->connectionFactory->normalizeType($input->getArgument('type'));
+ if ($type === 'sqlite3') {
throw new \InvalidArgumentException(
'Converting to SQLite (sqlite3) is currently not supported.'
);
--
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