public function run($id, $databaseConnectionName, &$userAppsRecommendations)
	{
		$this->Setting->changeDatabaseConnection($databaseConnectionName);
		$this->Setting->create(array('organization_id' => $id));

		array_push($userAppsRecommendations, array('appName' => $this->Lang->get('decima-accounting::menu.initialAccountingSetup'), 'appAction' => $this->Lang->get('decima-accounting::initial-accounting-setup.action')));
	}
public function run($id, $databaseConnectionName, &$userAppsRecommendations)
	{
		$this->Setting->changeDatabaseConnection($databaseConnectionName);
		$this->Setting->create(array('organization_id' => $id));

		array_push($userAppsRecommendations, array('appName' => $this->Lang->get('decima-accounting::menu.initialAccountingSetup'), 'appAction' => $this->Lang->get('decima-accounting::initial-accounting-setup.action')));
	}
public function run ( $ id , $ databaseConnectionName , & $ userAppsRecommendations ) { $ this -> Setting -> changeDatabaseConnection ( $ databaseConnectionName ) ; $ this -> Setting -> create ( array ( 'organization_id' => $ id ) ) ; array_push ( $ userAppsRecommendations , array ( 'appName' => $ this -> Lang -> get ( 'decima-accounting::menu.initialAccountingSetup' ) , 'appAction' => $ this -> Lang -> get ( 'decima-accounting::initial-accounting-setup.action' ) ) ) ; }
This method will be executed after an organization has been created.

@param integer $id
Organization id
@param string $databaseConnectionName
Database connection name of the organization
@param array $userAppsRecommendations
An array as follows: array('appName'=>$appName, 'appAction'=>$appAction)

@return void
This method will be executed after an organization has been created .