Refactor the database connector.

This commit is contained in:
Taylor Otwell 2011-08-08 16:00:01 -05:00
parent 7a4016b623
commit 3d30f9f855
1 changed files with 2 additions and 4 deletions

View File

@ -78,10 +78,8 @@ public function query($sql, $bindings = array())
{
return $query->rowCount();
}
else
{
return $result;
}
return $result;
}
/**