Ejemplo n.º 1
0
 private function removeFromCache(ICachedMountInfo $mount)
 {
     $builder = $this->connection->getQueryBuilder();
     $query = $builder->delete('mounts')->where($builder->expr()->eq('user_id', $builder->createNamedParameter($mount->getUser()->getUID())))->andWhere($builder->expr()->eq('root_id', $builder->createNamedParameter($mount->getRootId(), IQueryBuilder::PARAM_INT)));
     $query->execute();
 }