protected function execute_condition() {
        $courseid = $this->get_courseid();
        if ($courseid == SITEID) {
            return false;
        }

        return backup_plan_dbops::require_gradebook_backup($courseid, $this->get_backupid());
    }
protected function execute_condition() {
        $courseid = $this->get_courseid();
        if ($courseid == SITEID) {
            return false;
        }

        return backup_plan_dbops::require_gradebook_backup($courseid, $this->get_backupid());
    }
protected function execute_condition ( ) { $ courseid = $ this -> get_courseid ( ) ; if ( $ courseid == SITEID ) { return false ; } return backup_plan_dbops :: require_gradebook_backup ( $ courseid , $ this -> get_backupid ( ) ) ; }
We need to decide conditionally, based on dynamic information
about the execution of this step. Only will be executed if all
the module gradeitems have been already included in backup
We need to decide conditionally based on dynamic information about the execution of this step . Only will be executed if all the module gradeitems have been already included in backup