$this->dbLayer->connectToDatabase();
// Get result from query
- $result = $this->dbLayer->querySelect('array', $tableName, $criteriaInstance);
+ $result = $this->dbLayer->querySelect($tableName, $criteriaInstance);
// Return the result
return $result;