aboutsummaryrefslogtreecommitdiffstats
path: root/lib/setup.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/setup.php')
-rw-r--r--lib/setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 128c53269e8..4a195c3450d 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -733,7 +733,7 @@ class OC_Setup {
}
private static function mssql_createDatabase($dbname, $connection) {
- $query = "CREATE DATABASE IF NOT EXISTS [".$dbname."];";
+ $query = "CREATE DATABASE [".$dbname."];";
$result = sqlsrv_query($connection, $query);
if (!$result || $result === false) {
if ( ($errors = sqlsrv_errors() ) != null) {