diff options
Diffstat (limited to 'lib/public/idbconnection.php')
-rw-r--r-- | lib/public/idbconnection.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/idbconnection.php b/lib/public/idbconnection.php index c5767e65a82..ebfc95a3d38 100644 --- a/lib/public/idbconnection.php +++ b/lib/public/idbconnection.php @@ -32,6 +32,7 @@ // use OCP namespace for all classes that are considered public. // This means that they should be used by apps instead of the internal ownCloud classes namespace OCP; +use OCP\DB\QueryBuilder\IQueryBuilder; /** * Interface IDBConnection @@ -193,7 +194,7 @@ interface IDBConnection { * @return string The quoted parameter. * @since 8.0.0 */ - public function quote($input, $type = \PDO::PARAM_STR); + public function quote($input, $type = IQueryBuilder::PARAM_STR); /** * Gets the DatabasePlatform instance that provides all the metadata about |