diff options
author | Andreas Fischer <bantu@owncloud.com> | 2014-05-09 12:31:29 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2014-05-09 12:31:29 +0200 |
commit | 603ce95211a9c4a4e66f2fe19e0ef66288a5d122 (patch) | |
tree | 2319f277d267e0c4ed3260b55545091eae6ffd79 /core/command | |
parent | de78be3891c7a44699dab7d276276061dd62586b (diff) | |
download | nextcloud-server-603ce95211a9c4a4e66f2fe19e0ef66288a5d122.tar.gz nextcloud-server-603ce95211a9c4a4e66f2fe19e0ef66288a5d122.zip |
Add message about unsupported Microsoft SQL Server.
Diffstat (limited to 'core/command')
-rw-r--r-- | core/command/db/converttype.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php index 809374950d3..39e87853d60 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.', |