diff options
Diffstat (limited to 'lib/private/setup')
-rw-r--r-- | lib/private/setup/mysql.php | 2 | ||||
-rw-r--r-- | lib/private/setup/postgresql.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/setup/mysql.php b/lib/private/setup/mysql.php index de2466676c1..ba1b2ca854c 100644 --- a/lib/private/setup/mysql.php +++ b/lib/private/setup/mysql.php @@ -55,7 +55,7 @@ class MySQL extends AbstractDatabase { try{ $name = $this->dbName; $user = $this->dbUser; - //we cant use OC_BD functions here because we need to connect as the administrative user. + //we can't use OC_BD functions here because we need to connect as the administrative user. $query = "CREATE DATABASE IF NOT EXISTS `$name` CHARACTER SET utf8 COLLATE utf8_bin;"; $connection->executeUpdate($query); diff --git a/lib/private/setup/postgresql.php b/lib/private/setup/postgresql.php index 4c17de4b84d..893999bb0b9 100644 --- a/lib/private/setup/postgresql.php +++ b/lib/private/setup/postgresql.php @@ -113,7 +113,7 @@ class PostgreSQL extends AbstractDatabase { } private function createDatabase($connection) { - //we cant use OC_BD functions here because we need to connect as the administrative user. + //we can't use OC_BD functions here because we need to connect as the administrative user. $e_name = pg_escape_string($this->dbName); $e_user = pg_escape_string($this->dbUser); $query = "select datname from pg_database where datname = '$e_name'"; |