mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-24 17:36:39 +00:00
Merge branch 'i92-ignore-external_refresh' into 'master'
Pass in the refresh interval to fetch_external If we don't pass in the refresh interval then a default of 1 hour is used, this isn't really what is intended. (Fixes #92) See merge request !22
This commit is contained in:
commit
928ec35ae1
@ -115,7 +115,7 @@ function update_external ( $request )
|
||||
if ( $qry->Exec('DAVResource') && $qry->rows() > 0 && $row = $qry->Fetch() ) {
|
||||
if ( $row->bind_id != 0 ) {
|
||||
dbg_error_log("external", "external resource needs updating, this might take a minute : %s", $row->url );
|
||||
fetch_external ( $row->bind_id );
|
||||
fetch_external ( $row->bind_id, $c->external_refresh . ' minutes' );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user