[Pkg-owncloud-commits] [owncloud] 61/153: Add message about unsupported Microsoft SQL Server.

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 603ce95211a9c4a4e66f2fe19e0ef66288a5d122
Author: Andreas Fischer <bantu at owncloud.com>
Date:   Fri May 9 12:31:29 2014 +0200

    Add message about unsupported Microsoft SQL Server.
---
 core/command/db/converttype.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php
index 8093749..39e8785 100644
--- a/core/command/db/converttype.php
+++ b/core/command/db/converttype.php
@@ -99,6 +99,11 @@ class ConvertType extends Command {
 				'Converting to SQLite (sqlite3) is currently not supported.'
 			);
 		}
+		if ($type === 'mssql') {
+			throw new \InvalidArgumentException(
+				'Converting to Microsoft SQL Server (mssql) is currently not supported.'
+			);
+		}
 		if ($type === $this->config->getValue('dbtype', '')) {
 			throw new \InvalidArgumentException(sprintf(
 				'Can not convert from %1$s to %1$s.',

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