Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenaka <diosmosis@users.noreply.github.com>2018-02-21 02:54:28 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2018-02-21 02:54:28 +0300
commit00def1bf931918f8c8ea187e46a1d735d0e96724 (patch)
treeee222d5d15350d0165c1ef013f258b9a497e3770
parent3b8a0990784e16ed149000b527a0841523799017 (diff)
Add new Filesystem.allCachesCleared event after all caches cleared. (#12568)
-rw-r--r--core/Filesystem.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/Filesystem.php b/core/Filesystem.php
index 7fbd63be39..2ff3439b75 100644
--- a/core/Filesystem.php
+++ b/core/Filesystem.php
@@ -37,6 +37,12 @@ class Filesystem
foreach ($plugins as $plugin) {
$plugin->reloadPluginInformation();
}
+
+ /**
+ * Triggered after all non-memory caches are cleared (eg, via the cache:clear
+ * command).
+ */
+ Piwik::postEvent('Filesystem.allCachesCleared');
}
/**