mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
spaces to tabs replacement
This commit is contained in:
parent
ca9b4e467f
commit
b4ffaa9498
1 changed files with 4 additions and 4 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue