Permalink
Browse files

fixed indent

  • Loading branch information...
1 parent d6c0acc commit 01e1ad37a634a242efd48aefb82dfbf1de84c173 @ichikaway committed Nov 27, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 models/datasources/mongodb_source.php
@@ -185,11 +185,11 @@ public function connect() {
} else {
$this->connection = new Mongo($host, true, $this->config['persistent']);
}
-
- if (isset($this->config['slaveok'])) {
- $this->connection->setSlaveOkay($this->config['slaveok']);
- }
-
+
+ if (isset($this->config['slaveok'])) {
+ $this->connection->setSlaveOkay($this->config['slaveok']);
+ }
+
if ($this->_db = $this->connection->selectDB($this->config['database'])) {
if (!empty($this->config['login']) && $this->_driverVersion < '1.2.0') {
$return = $this->_db->authenticate($this->config['login'], $this->config['password']);

0 comments on commit 01e1ad3

Please sign in to comment.