Bug 25000: SQL report not updated
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
parent
bf8ed831f8
commit
cb7729c55d
|
|
@ -645,6 +645,7 @@ sub update_sql {
|
|||
$report->report_subgroup($subgroup);
|
||||
$report->cache_expiry($cache_expiry) if defined $cache_expiry;
|
||||
$report->public($public);
|
||||
$report->store();
|
||||
if( $cache_expiry >= 2592000 ){
|
||||
die "Please specify a cache expiry less than 30 days\n"; # That's a bit harsh
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue