*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
*/
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');