protected function cleanup_import($notification) {
        $this->status = false;
        import_cleanup($this->importcode);
        $this->gradebookerrors[] = $notification;
    }
protected function cleanup_import($notification) {
        $this->status = false;
        import_cleanup($this->importcode);
        $this->gradebookerrors[] = $notification;
    }
protected function cleanup_import ( $ notification ) { $ this -> status = false ; import_cleanup ( $ this -> importcode ) ; $ this -> gradebookerrors [ ] = $ notification ; }
Clean up failed CSV grade import. Clears the temp table for inserting grades.

@param string $notification The error message to display from the unsuccessful grade import.
Clean up failed CSV grade import . Clears the temp table for inserting grades .