Changeset 1414 for cpc/trunk/project/lib/model/solr/SolrListener.php
- Timestamp:
- Sep 25, 2010, 9:55:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/lib/model/solr/SolrListener.php
r1405 r1414 72 72 73 73 $t = null; 74 if (isset( $this->_options['index_if']) && $t = $this->_options['index_if'] && $t && !$obj->get($t)) 75 return ; 74 if (isset( $this->_options['index_if']) && $t = $this->_options['index_if']) { 75 if (!($obj->get($t))) { 76 return $this->postDelete($event); 77 } 78 } 76 79 77 80 $json = array(); … … 79 82 $json['object_id'] = $obj->getId(); 80 83 $json['object_name'] = get_class($obj); 81 82 84 if (isset($this->_options['description']) && $t = $this->_options['description']) { 83 85 $content = $this->getObjFieldsValue($obj, $t);
Note: See TracChangeset
for help on using the changeset viewer.