diff options
author | Stefan Weil <sw@weilnetz.de> | 2016-04-07 19:51:27 +0200 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2016-04-07 19:51:27 +0200 |
commit | b1a856d7b7e184241fcd862842d4aecddd9a00ec (patch) | |
tree | dad8a4f1c34e1c97ead9cd50a7c2f44469cb536e /lib/private/setup | |
parent | 6eefea1bb65897b0a1cf8668b15998a12ae197b9 (diff) | |
download | nextcloud-server-b1a856d7b7e184241fcd862842d4aecddd9a00ec.tar.gz nextcloud-server-b1a856d7b7e184241fcd862842d4aecddd9a00ec.zip |
lib: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
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'"; |