diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-03-09 16:47:53 +0100 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-03-09 16:47:53 +0100 |
commit | b4ffaa9498b27bd1b2adfc09df7877af59170507 (patch) | |
tree | f47aa1c28578f5f4d269098a52d41f4fbeaa838e | |
parent | ca9b4e467fe112d45be5454a69d0cba62d1fa660 (diff) | |
download | nextcloud-server-b4ffaa9498b27bd1b2adfc09df7877af59170507.tar.gz nextcloud-server-b4ffaa9498b27bd1b2adfc09df7877af59170507.zip |
spaces to tabs replacement
-rw-r--r-- | lib/filecache.php | 8 |
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)); |