/** * Call this on finish */ function done() { // upd.counters $this->psat->update_tree($this->site_id, true); core::dprint('Done'); }