protected function finish_save() {

		$this->fire_model_event( 'saved' );

		foreach ( $this->_relations as $attribute => $relation ) {
			if ( $relation instanceof Collection ) {
				$relation->clear_memory();
			}
		}

		$this->sync_original();
	}
protected function finish_save() {

		$this->fire_model_event( 'saved' );

		foreach ( $this->_relations as $attribute => $relation ) {
			if ( $relation instanceof Collection ) {
				$relation->clear_memory();
			}
		}

		$this->sync_original();
	}
protected function finish_save ( ) { $ this -> fire_model_event ( 'saved' ) ; foreach ( $ this -> _relations as $ attribute => $ relation ) { if ( $ relation instanceof Collection ) { $ relation -> clear_memory ( ) ; } } $ this -> sync_original ( ) ; }
Perform cleanup after a save has occurred.

@since 2.0
Perform cleanup after a save has occurred .