Skip to content

Commit

Permalink
Remove debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Nov 3, 2016
1 parent 2a5c4ed commit 17507b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion framework/Cache/lib/Horde/Cache/Storage/Mongo.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ public function get($key, $lifetime = 0)
return false;
}

var_dump($result);
if ($this->_logger) {
$this->_logger->log(sprintf('Cache hit: %s (cache ID %s)', $okey, $key), 'DEBUG');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,6 @@ public function findOne($query = [], array $fields = [], array $options = [])
$options = ['projection' => TypeConverter::fromLegacy($fields)] + $options;
try {
$document = $this->collection->findOne(TypeConverter::fromLegacy($query), $options);
var_dump($document);
} catch (\MongoDB\Driver\Exception\Exception $e) {
throw ExceptionConverter::toLegacy($e);
}
Expand Down

0 comments on commit 17507b5

Please sign in to comment.