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

View File

@ -1552,7 +1552,6 @@ impl LockedDatabase {
/// Updates a camera.
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 streams;
let c = self