diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-29 09:44:40 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-29 09:44:40 +0100 |
commit | 2a0cda74d41ece6bee48024dd485bf08087054ad (patch) | |
tree | 8c3e8b30d3db45d3c17de189188f15aa7062cf81 /lib/private/appframework | |
parent | 6526c122afa2c141f4cd5ffd7e292f7a5556cf61 (diff) | |
download | nextcloud-server-2a0cda74d41ece6bee48024dd485bf08087054ad.tar.gz nextcloud-server-2a0cda74d41ece6bee48024dd485bf08087054ad.zip |
Use IQueryBuilder::PARAM_* instead of \PDO::PARAM_*
Diffstat (limited to 'lib/private/appframework')
-rw-r--r-- | lib/private/appframework/db/db.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/appframework/db/db.php b/lib/private/appframework/db/db.php index 5fdc5d1066c..72d481885ca 100644 --- a/lib/private/appframework/db/db.php +++ b/lib/private/appframework/db/db.php @@ -25,6 +25,7 @@ namespace OC\AppFramework\Db; +use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IDb; use OCP\IDBConnection; @@ -240,7 +241,7 @@ class Db implements IDb { * @param int $type Type of the parameter. * @return string The quoted parameter. */ - public function quote($input, $type = \PDO::PARAM_STR) { + public function quote($input, $type = IQueryBuilder::PARAM_STR) { return $this->connection->quote($input, $type); } |