Ignore:
Timestamp:
Apr 2, 2012, 2:14:14 PM (9 years ago)
Author:
goya
Message:

kicke les desinscrits avec is_active négatif

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/lib/task/reindexSolrObjectTask.class.php

    r2643 r2648  
    3030        $this->index($i);
    3131    } else {
    32       $obj = Doctrine::getTable($class)->find($id);
    33       $this->index($obj);
     32      $this->index($class, $id);
    3433    }
    3534  }
    3635
    37   protected static function index($obj) {
     36  protected static function index($class, $id) {
     37    $obj = Doctrine::getTable($class)->find($id);
    3838    if (!$obj) {
    3939      $json = new stdClass();
Note: See TracChangeset for help on using the changeset viewer.