fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15674]


From: nelson . guerra
Subject: [Fmsystem-commits] [15674]
Date: Thu, 15 Sep 2016 13:18:49 +0000 (UTC)

Revision: 15674
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15674
Author:   nelson224
Date:     2016-09-15 13:18:49 +0000 (Thu, 15 Sep 2016)
Log Message:
-----------


Modified Paths:
--------------
    
branches/dev-syncromind-2/property/inc/import/class.import_components.inc.php

Modified: 
branches/dev-syncromind-2/property/inc/import/class.import_components.inc.php
===================================================================
--- 
branches/dev-syncromind-2/property/inc/import/class.import_components.inc.php   
    2016-09-15 13:18:27 UTC (rev 15673)
+++ 
branches/dev-syncromind-2/property/inc/import/class.import_components.inc.php   
    2016-09-15 13:18:49 UTC (rev 15674)
@@ -108,35 +108,8 @@
 
                        $this->db->transaction_commit();
                        $message['message'][] = array('msg' => 'all components 
saved successfully');
-                       return $message;                 
                        
-                       /*$components_not_added = array();
-                       
-                       foreach ($entity_categories as $entity) 
-                       {
-                               if ($entity['cat_id'])
-                               {
-                                       $attributes = 
$this->get_attributes($entity['entity_id'], $entity['cat_id']);
-
-                                       $not_added = array();
-                                       foreach ($entity['components'] as 
$values)
-                                       {
-                                               $attributes_values = 
$this->set_attributes_values($values, $attributes);
-                                               
-                                               $receipt = 
$this->bo_entity->save(array('location' => $location_code), $attributes_values, 
'add', $entity['entity_id'], $entity['cat_id']);
-                                               if (!$receipt['id'])
-                                               {
-                                                       $not_added[] = 1;
-                                               }
-                                       }
-                                       if (count($not_added))
-                                       {
-                                               
$components_not_added[$entity['name']] = count($not_added);
-                                       }
-                               }
-                       }
-                       
-                       return $components_not_added;*/
+                       return $message; 
                }
                
                private function _save_eav( $data, $entity_id, $cat_id )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]