diff options
author | Andreas Fischer <bantu@owncloud.com> | 2013-11-28 11:37:29 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2013-11-28 11:37:29 +0100 |
commit | 955127231ad4adb248f2cbfdb9eabdc56b58a183 (patch) | |
tree | ed06eee213eafcea526797ab3f3c521d33a75caa /lib/private/setup | |
parent | fcf332abbfcec2e61103eff8b36c833b6da16bf4 (diff) | |
download | nextcloud-server-955127231ad4adb248f2cbfdb9eabdc56b58a183.tar.gz nextcloud-server-955127231ad4adb248f2cbfdb9eabdc56b58a183.zip |
No function as oci_last_error. It's oci_error.
Diffstat (limited to 'lib/private/setup')
-rw-r--r-- | lib/private/setup/oci.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/setup/oci.php b/lib/private/setup/oci.php index 997d50c8afb..f4ecb22de5f 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))) . '<br />'; + $entry = $this->trans->t('DB Error: "%s"', array(oci_error($connection))) . '<br />'; $entry .= $this->trans->t('Offending command was: "%s"', array($query)) . '<br />'; \OC_Log::write('setup.oci', $entry, \OC_Log::WARN); } |