aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/setup/mysql.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/setup/mysql.php')
-rw-r--r--lib/private/setup/mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/setup/mysql.php b/lib/private/setup/mysql.php
index b9246a915a6..c01ff724b80 100644
--- a/lib/private/setup/mysql.php
+++ b/lib/private/setup/mysql.php
@@ -103,7 +103,7 @@ class MySQL extends AbstractDatabase {
if(!$result) {
$entry = $this->trans->t('DB Error: "%s"', array(mysql_error($connection))) . '<br />';
$entry .= $this->trans->t('Offending command was: "%s"', array($query)) . '<br />';
- \OC_Log::write('setup.mssql', $entry, \OC_Log::WARN);
+ \OCP\Util::writeLog('setup.mssql', $entry, \OCP\Util::WARN);
}
$query="GRANT ALL PRIVILEGES ON `$name` . * TO '$user'";