diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-10-19 17:21:23 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-10-19 17:21:23 +0200 |
commit | 10e29da8be495cce0cea7aa35942bd2a92b868d8 (patch) | |
tree | d02538a1783c445e1707831c64fb568206e53f3b /lib/db.php | |
parent | 394e4e4d5fe5cbd5e52df63984a67dc0786685a4 (diff) | |
download | nextcloud-server-10e29da8be495cce0cea7aa35942bd2a92b868d8.tar.gz nextcloud-server-10e29da8be495cce0cea7aa35942bd2a92b868d8.zip |
Use self::prepare() instead of self::$connection->prepare.
Diffstat (limited to 'lib/db.php')
-rw-r--r-- | lib/db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.php b/lib/db.php index f32e8549ce9..ff06ec3e00b 100644 --- a/lib/db.php +++ b/lib/db.php @@ -577,7 +577,7 @@ class OC_DB { //OC_Log::write('core', __METHOD__ . ', type: ' . $type . ', query: ' . $query, OC_Log::DEBUG); try { - $result=self::$connection->prepare($query); + $result = self::prepare($query); } catch(PDOException $e) { $entry = 'DB Error: "'.$e->getMessage().'"<br />'; $entry .= 'Offending command was: '.$query.'<br />'; |