summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-11-23 17:42:47 +0300
committerValentin Popov <info@valentineus.link>2017-11-23 17:44:30 +0300
commit4bf6f61131af5a3b7847e5e0491eb218120faba2 (patch)
tree663c5bc0aea8c5573a75d4621dbc0487957b1000 /index.php
parent3da34ec7f132cae85d5b49a2f39b33fb7f090ce1 (diff)
downloadlocal_webhooks-4bf6f61131af5a3b7847e5e0491eb218120faba2.tar.xz
local_webhooks-4bf6f61131af5a3b7847e5e0491eb218120faba2.zip
External backup function
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
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);
}