diff options
author | Robin Appelman <robin@icewind.nl> | 2017-03-26 20:45:49 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-03-30 11:15:06 +0200 |
commit | d4a7cfec7ca61ba48fdb20134409ad2500e0e7a7 (patch) | |
tree | 19b791be97d0704b369bb226fc4aeccb51fff5c4 /lib | |
parent | fee818f49347e332aa59bdbfc82847d7964cc653 (diff) | |
download | nextcloud-server-d4a7cfec7ca61ba48fdb20134409ad2500e0e7a7.tar.gz nextcloud-server-d4a7cfec7ca61ba48fdb20134409ad2500e0e7a7.zip |
rename fun to func
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/DB/QueryBuilder/QueryBuilder.php | 2 | ||||
-rw-r--r-- | lib/private/Files/Cache/Cache.php | 2 | ||||
-rw-r--r-- | lib/public/DB/QueryBuilder/IQueryBuilder.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/DB/QueryBuilder/QueryBuilder.php b/lib/private/DB/QueryBuilder/QueryBuilder.php index 3ff31de19a3..eac13b452ac 100644 --- a/lib/private/DB/QueryBuilder/QueryBuilder.php +++ b/lib/private/DB/QueryBuilder/QueryBuilder.php @@ -139,7 +139,7 @@ class QueryBuilder implements IQueryBuilder { * * @return \OCP\DB\QueryBuilder\IFunctionBuilder */ - public function fun() { + public function func() { if ($this->connection instanceof OracleConnection) { return new OCIFunctionBuilder($this->helper); } else if ($this->connection->getDatabasePlatform() instanceof SqlitePlatform) { diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index ce3e38dd46f..1f3f2433e45 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -529,7 +529,7 @@ class Cache implements ICache { $sourceLength = strlen($sourcePath); $query = $this->connection->getQueryBuilder(); - $fun = $query->fun(); + $fun = $query->func(); $newPathFunction = $fun->concat( $query->createNamedParameter($targetPath), $fun->substring('path', $query->createNamedParameter($sourceLength + 1, IQueryBuilder::PARAM_INT))// +1 for the leading slash diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php index 2a88e7ac566..a176bb917a3 100644 --- a/lib/public/DB/QueryBuilder/IQueryBuilder.php +++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php @@ -111,7 +111,7 @@ interface IQueryBuilder { * @return \OCP\DB\QueryBuilder\IFunctionBuilder * @since 12.0.0 */ - public function fun(); + public function func(); /** * Gets the type of the currently built query. |