From 4ade14b8415e2f57f36191f3ceaafd94f1bca21e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 26 Apr 2014 16:15:35 +0200 Subject: [PATCH] Qual: Removed code we should not have. --- htdocs/core/class/conf.class.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index a79cb494bd42f..d8dc5a65e6601 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -225,22 +225,6 @@ function setValues($db) if ($ret) $mc = new ActionsMulticompany($db); } - // Second or others levels object - $this->propal->cloture = new stdClass(); - $this->propal->facturation = new stdClass(); - $this->commande->client = new stdClass(); - $this->commande->fournisseur = new stdClass(); - $this->facture->client = new stdClass(); - $this->facture->fournisseur = new stdClass(); - $this->fournisseur->commande = new stdClass(); - $this->fournisseur->facture = new stdClass(); - $this->contrat->services = new stdClass(); - $this->contrat->services->inactifs = new stdClass(); - $this->contrat->services->expires = new stdClass(); - $this->adherent->cotisation = new stdClass(); - $this->bank->rappro = new stdClass(); - $this->bank->cheque = new stdClass(); - // Clean some variables if (empty($this->global->MAIN_MENU_STANDARD)) $this->global->MAIN_MENU_STANDARD="eldy_menu.php"; if (empty($this->global->MAIN_MENUFRONT_STANDARD)) $this->global->MAIN_MENUFRONT_STANDARD="eldy_menu.php";