summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2020-01-06 14:32:30 -0500
committerAnthony G. Basile <blueness@gentoo.org>2020-01-06 14:32:30 -0500
commit10ef81bf85ad0a4bad0d204838e14c99ca2526f7 (patch)
treeb4bb36a326d41de12d1a6181d2a2baf34696ac24 /plugins/jetpack/vendor/automattic/jetpack-backup/actions.php
parentUpdating script for Update (diff)
downloadblogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.tar.gz
blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.tar.bz2
blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.zip
Update jetpack 8.0
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'plugins/jetpack/vendor/automattic/jetpack-backup/actions.php')
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-backup/actions.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/jetpack/vendor/automattic/jetpack-backup/actions.php b/plugins/jetpack/vendor/automattic/jetpack-backup/actions.php
new file mode 100644
index 00000000..6a0a55a3
--- /dev/null
+++ b/plugins/jetpack/vendor/automattic/jetpack-backup/actions.php
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Action Hooks for Jetpack Backup module.
+ *
+ * @package automattic/jetpack-backup
+ */
+
+if ( ! defined( 'ABSPATH' ) ) {
+ return;
+}
+
+// Clean up expired Helper Scripts from a scheduled event.
+add_action( 'jetpack_backup_cleanup_helper_scripts', array( 'Automattic\\Jetpack\\Backup\\Helper_Script_Manager', 'cleanup_expired_helper_scripts' ) );