Browse Source

suppression code obsolete

SiM 5 years ago
parent
commit
144970963f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      lib/model/KataoUser.php

+ 0 - 1
lib/model/KataoUser.php

@@ -102,7 +102,6 @@ class KataoUser extends BaseKataoUser {
      */
     public function getCart($katao_period_id = false, $katao_node_id = false, $ignore_status = false) {
         $sf_user = sfContext::getInstance()->getUser();
-        //return new KataoCart; // A VIRER 
         return KataoCartPeer::retrieveByUserAndPeriodAndNode($this->getId(), 
             $katao_period_id?$katao_period_id:$sf_user->getActivePeriod()->getId(), 
             $katao_node_id?$katao_node_id:$sf_user->getActiveNode()->getId(), $ignore_status);