diff --git a/lib/private/setup/oci.php b/lib/private/setup/oci.php index 997d50c8af..f4ecb22de5 100644 --- a/lib/private/setup/oci.php +++ b/lib/private/setup/oci.php @@ -51,7 +51,7 @@ class OCI extends AbstractDatabase { ." WHERE user_role_privs.granted_role = role_sys_privs.role AND privilege = 'CREATE ROLE'"; $stmt = oci_parse($connection, $query); if (!$stmt) { - $entry = $this->trans->t('DB Error: "%s"', array(oci_last_error($connection))) . '
'; + $entry = $this->trans->t('DB Error: "%s"', array(oci_error($connection))) . '
'; $entry .= $this->trans->t('Offending command was: "%s"', array($query)) . '
'; \OC_Log::write('setup.oci', $entry, \OC_Log::WARN); }