protected function reset_phase() {
        global $DB;

        $DB->set_field('workshop', 'phase', self::PHASE_SETUP, array('id' => $this->id));
        $this->phase = self::PHASE_SETUP;
    }
protected function reset_phase() {
        global $DB;

        $DB->set_field('workshop', 'phase', self::PHASE_SETUP, array('id' => $this->id));
        $this->phase = self::PHASE_SETUP;
    }
protected function reset_phase ( ) { global $ DB ; $ DB -> set_field ( 'workshop' , 'phase' , self :: PHASE_SETUP , array ( 'id' => $ this -> id ) ) ; $ this -> phase = self :: PHASE_SETUP ; }
Hard set the workshop phase to the setup one.
Hard set the workshop phase to the setup one .