summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2012-03-09 16:47:53 +0100
committerBartek Przybylski <bart.p.pl@gmail.com>2012-03-09 16:47:53 +0100
commitb4ffaa9498b27bd1b2adfc09df7877af59170507 (patch)
treef47aa1c28578f5f4d269098a52d41f4fbeaa838e
parentca9b4e467fe112d45be5454a69d0cba62d1fa660 (diff)
downloadnextcloud-server-b4ffaa9498b27bd1b2adfc09df7877af59170507.tar.gz
nextcloud-server-b4ffaa9498b27bd1b2adfc09df7877af59170507.zip
spaces to tabs replacement
-rw-r--r--lib/filecache.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/filecache.php b/lib/filecache.php
index 5d72c4898dc..73ce61e4102 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -540,12 +540,12 @@ class OC_FileCache{
}elseif($root=='/'){
$root='';
}
- $rootLen=strlen($root);
- $root .= '%';
+ $rootLen=strlen($root);
+ $root .= '%';
$user=OC_User::getUser();
if(!$part2){
- $query=OC_DB::prepare('SELECT path FROM *PREFIX*fscache WHERE mimepart=? AND user=? AND path LIKE ?');
- $result=$query->execute(array($part1,$user, $root));
+ $query=OC_DB::prepare('SELECT path FROM *PREFIX*fscache WHERE mimepart=? AND user=? AND path LIKE ?');
+ $result=$query->execute(array($part1,$user, $root));
}else{
$query=OC_DB::prepare('SELECT path FROM *PREFIX*fscache WHERE mimetype=? AND user=? AND path LIKE ? ');
$result=$query->execute(array($part1.'/'.$part2,$user, $root));