fix copy-paste error in sql query

fixes #526
This commit is contained in:
Robin Appelman 2012-11-21 00:05:32 +01:00
parent 8f2209680a
commit e9c710e4fc
1 changed files with 1 additions and 1 deletions

View File

@ -509,7 +509,7 @@ class OC_FileCache{
$query=OC_DB::prepare('UPDATE `*PREFIX*fscache` SET `mtime`=0 WHERE `user`=? AND `mimetype`= ? ');
$query->execute(array($user,'httpd/unix-directory'));
}else{
$query=OC_DB::prepare('UPDATE `*PREFIX*fscache` SET `mtime`=0 AND `mimetype`= ? ');
$query=OC_DB::prepare('UPDATE `*PREFIX*fscache` SET `mtime`=0 WHERE `mimetype`= ? ');
$query->execute(array('httpd/unix-directory'));
}
}