summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-03-26 20:45:49 +0200
committerRobin Appelman <robin@icewind.nl>2017-03-30 11:15:06 +0200
commitd4a7cfec7ca61ba48fdb20134409ad2500e0e7a7 (patch)
tree19b791be97d0704b369bb226fc4aeccb51fff5c4 /lib/private/Files/Cache
parentfee818f49347e332aa59bdbfc82847d7964cc653 (diff)
downloadnextcloud-server-d4a7cfec7ca61ba48fdb20134409ad2500e0e7a7.tar.gz
nextcloud-server-d4a7cfec7ca61ba48fdb20134409ad2500e0e7a7.zip
rename fun to func
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Cache')
-rw-r--r--lib/private/Files/Cache/Cache.php2
1 files changed, 1 insertions, 1 deletions
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