*/
public function ifUserCreatedMaximumAllowedCompanies () {
// Get max allowed companies to found
- $maxFound = $this->getConfigInstance()->readConfig('max_allowed_companies_found');
+ $maxFound = $this->getConfigInstance()->getConfigEntry('max_allowed_companies_found');
// Now get a search criteria and set the user's name as criteria
$criteriaInstance = ObjectFactory::createObjectByConfiguredName('search_criteria_class');