remove an obsolete TODO

StreamStateChanger::new already correctly ensures that non-empty streams can't
switch sample file dirs.
This commit is contained in:
Scott Lamb 2018-03-24 20:54:56 -07:00
parent 65e68d3255
commit e817b22189
1 changed files with 0 additions and 1 deletions

View File

@ -1552,7 +1552,6 @@ impl LockedDatabase {
/// Updates a camera. /// Updates a camera.
pub fn update_camera(&mut self, camera_id: i32, mut camera: CameraChange) -> Result<(), Error> { pub fn update_camera(&mut self, camera_id: i32, mut camera: CameraChange) -> Result<(), Error> {
// TODO: sample_file_dir_id. disallow change when data is stored; change otherwise.
let tx = self.conn.transaction()?; let tx = self.conn.transaction()?;
let streams; let streams;
let c = self let c = self