mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +00:00
Add a default for min_age.
This commit is contained in:
parent
90a34a78ec
commit
33effe2a70
@ -39,7 +39,7 @@ function create_external ( $path,$is_calendar,$is_addressbook )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function fetch_external ( $bind_id, $min_age )
|
function fetch_external ( $bind_id, $min_age = '1 hour' )
|
||||||
{
|
{
|
||||||
if ( ! function_exists ( "curl_init" ) ) {
|
if ( ! function_exists ( "curl_init" ) ) {
|
||||||
dbg_error_log("external", "external resource cannot be fetched without curl, please install curl");
|
dbg_error_log("external", "external resource cannot be fetched without curl, please install curl");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user