- Timestamp:
- Apr 4, 2012, 12:30:37 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/lib/task/reindexSolrObjectTask.class.php
r2648 r2649 30 30 $this->index($i); 31 31 } else { 32 $this->index($class, $id); 32 $obj = Doctrine::getTable($class)->find($id); 33 $this->index($obj); 33 34 } 34 35 } 35 36 36 protected static function index($class, $id) { 37 $obj = Doctrine::getTable($class)->find($id); 37 protected static function index($obj) { 38 38 if (!$obj) { 39 39 $json = new stdClass();
Note: See TracChangeset
for help on using the changeset viewer.