session: fix duplicate session commit

* Removes duplicate code that has been moved to model.
  (PR #2264)

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>