From: Vincent Vanwaelscappel Date: Thu, 23 Dec 2021 11:25:14 +0000 (+0100) Subject: wip #4978 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d624dc4ec7014546a928738049117538b04f531e;p=cubist_matomo.git wip #4978 @0.25 --- diff --git a/src/Reporting.php b/src/Reporting.php index 786e3f9..7f7f7a1 100644 --- a/src/Reporting.php +++ b/src/Reporting.php @@ -74,6 +74,9 @@ class Reporting public function deleteSite($siteId) { + if (isset($this->_allSites[$siteId])) { + unset($this->_allSites[$siteId]); + } return $this->_apicall('SitesManager.deleteSite', ['idSite', $siteId]); }