mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-07-16 12:21:57 -04: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.
|
/// 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user