mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-25 14:45:54 -05:00
remove an obsolete TODO
StreamStateChanger::new already correctly ensures that non-empty streams can't switch sample file dirs.
This commit is contained in:
parent
65e68d3255
commit
e817b22189
1
db/db.rs
1
db/db.rs
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user