From 4bf6f61131af5a3b7847e5e0491eb218120faba2 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 23 Nov 2017 18:42:47 +0400 Subject: External backup function --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 8fb92f2..318520a 100644 --- a/index.php +++ b/index.php @@ -54,7 +54,7 @@ $callbacks = local_webhooks_get_list_records(); /* Upload settings as a file */ if (boolval($backupservices)) { - $filecontent = local_webhooks_archiving_data($callbacks); + $filecontent = local_webhooks_create_backup(); $filename = "webhooks_" . date("U") . ".backup"; send_file($filecontent, $filename, 0, 0, true, true); } -- cgit v1.2.3