[Pkg-owncloud-commits] [owncloud] 28/49: No function as oci_last_error. It's oci_error.
David Prévot
taffit at moszumanska.debian.org
Thu Dec 5 16:02:54 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 7e467484a83bd53b52ecdace07082cfccfb7218a
Author: Andreas Fischer <bantu at owncloud.com>
Date: Thu Nov 28 11:37:29 2013 +0100
No function as oci_last_error. It's oci_error.
---
lib/private/setup/oci.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/private/setup/oci.php b/lib/private/setup/oci.php
index 997d50c..f4ecb22 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);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list