mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
Merge branch 'stable' of gitorious.org:owncloud/owncloud into stable
This commit is contained in:
commit
2a7430158a
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ class OC_DB {
|
|||
$query = str_replace( 'now()', self::$DBConnection->now(), $query );
|
||||
|
||||
// differences in escaping of table names ('`' for mysql) and getting the current timestamp
|
||||
if( $type == 'sqlite' || $type == 'sqlite3' ){
|
||||
if( $CONFIG_DBTYPE == 'sqlite' || $CONFIG_DBTYPE == 'sqlite3' ){
|
||||
$query = str_replace( '`', '\'', $query );
|
||||
}
|
||||
elseif( $CONFIG_DBTYPE == 'pgsql' ){
|
||||
|
|
|
|||
Loading…
Reference in a new issue