mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-18 11:35:15 -04:00
Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas
This commit is contained in:
@@ -342,7 +342,13 @@ sub checkFilter {
|
||||
$Event->lock_and_load();
|
||||
|
||||
my $old_diskspace = $$Event{DiskSpace};
|
||||
if ( $old_diskspace != $Event->DiskSpace(undef) ) {
|
||||
my $new_diskspace = $Event->DiskSpace(undef);
|
||||
|
||||
if (
|
||||
( (!defined $old_diskspace) and defined $new_diskspace)
|
||||
or
|
||||
( (defined $old_diskspace) and (defined $new_diskspace) and ( $old_diskspace != $Event->DiskSpace(undef) ) )
|
||||
) {
|
||||
$Event->save();
|
||||
}
|
||||
$ZoneMinder::Database::dbh->commit();
|
||||
|
||||
Submodule web/api/app/Plugin/CakePHP-Enum-Behavior updated: ca91b87fda...7108489f21
Submodule web/api/app/Plugin/Crud updated: 1351dde6b4...c3976f1478
@@ -208,6 +208,7 @@ ob_start();
|
||||
<?php
|
||||
$table_head = ob_get_contents();
|
||||
ob_end_clean();
|
||||
echo $table_head;
|
||||
for( $monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1 ) {
|
||||
$monitor = $displayMonitors[$monitor_i];
|
||||
$Monitor = new Monitor($monitor);
|
||||
|
||||
Reference in New Issue
Block a user