From 2195a7135be610c73bae8cd6120aaed1716d0760 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 29 Jul 2020 21:32:36 +0200 Subject: [PATCH] force mapper reload after change --- Admin/Install/Comments.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Admin/Install/Comments.php b/Admin/Install/Comments.php index e05d3fa..095fd45 100644 --- a/Admin/Install/Comments.php +++ b/Admin/Install/Comments.php @@ -51,5 +51,7 @@ class Comments ' @Module Comments */' ], '', $mapper); \file_put_contents(__DIR__ . '/../../Models/NewsArticleMapper.php', $mapper); + + \opcache_invalidate(__DIR__ . '/../../Models/NewsArticleMapper.php'); } }