From e4266efb222d870acce46ff5a036728aa5a3e865 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Fri, 30 Sep 2016 13:41:50 +0200 Subject: [PATCH] Added framework method to clear dirsize cache HFP-23 --- h5p.classes.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/h5p.classes.php b/h5p.classes.php index 4d903af..4a3203a 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -553,6 +553,11 @@ interface H5PFrameworkInterface { * return int */ public function getLibraryContentCount(); + + /** + * Will trigger after the export file is created. + */ + public function afterExportCreated(); } /** @@ -1599,6 +1604,7 @@ Class H5PExport { } unlink($tmpFile); + $this->h5pF->afterExportCreated(); return true; }