diff options
author | JT Smith <nexxai@gmail.com> | 2022-10-07 13:19:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 13:19:35 +0300 |
commit | d3de8d64f477d14bf10d5cd1d17521f0c19950ed (patch) | |
tree | 29f1ef4f85b4a31c2d3f2b3272b815c34c1c334f /plugins/CoreAdminHome | |
parent | 8a3c0e87e1377a7ec0bc12c40d35852bd3af27be (diff) |
Typofixes (#19805)
* Fixing typo in array property
* Fixing "nonexistant" throughout codebase
* Fixing misspelling of Password
* Typofixes in comments
* Update core/Plugin/Dimension/VisitDimension.php
Co-authored-by: Justin Velluppillai <justinvelluppillai@gmail.com>
* Reverting change of idDimenson
Co-authored-by: Justin Velluppillai <justinvelluppillai@gmail.com>
Diffstat (limited to 'plugins/CoreAdminHome')
-rw-r--r-- | plugins/CoreAdminHome/API.php | 4 | ||||
-rw-r--r-- | plugins/CoreAdminHome/tests/Framework/Mock/API.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CoreAdminHome/API.php b/plugins/CoreAdminHome/API.php index 4b0e4380c2..91f551a1d8 100644 --- a/plugins/CoreAdminHome/API.php +++ b/plugins/CoreAdminHome/API.php @@ -151,7 +151,7 @@ class API extends \Piwik\Plugin\API * @hideExceptForSuperUser */ public function invalidateArchivedReports($idSites, $dates, $period = false, $segment = false, $cascadeDown = false, - $_forceInvalidateNonexistant = false) + $_forceInvalidateNonexistent = false) { $idSites = Site::getIdSitesFromIdSitesString($idSites); if (empty($idSites)) { @@ -169,7 +169,7 @@ class API extends \Piwik\Plugin\API /** Date[]|string[] $dates */ list($dates, $invalidDates) = $this->getDatesToInvalidateFromString($dates, $period); - $invalidationResult = $this->invalidator->markArchivesAsInvalidated($idSites, $dates, $period, $segment, (bool)$cascadeDown, (bool)$_forceInvalidateNonexistant); + $invalidationResult = $this->invalidator->markArchivesAsInvalidated($idSites, $dates, $period, $segment, (bool)$cascadeDown, (bool)$_forceInvalidateNonexistent); $output = $invalidationResult->makeOutputLogs(); if ($invalidDates) { diff --git a/plugins/CoreAdminHome/tests/Framework/Mock/API.php b/plugins/CoreAdminHome/tests/Framework/Mock/API.php index c07af44fc1..a1909f5b61 100644 --- a/plugins/CoreAdminHome/tests/Framework/Mock/API.php +++ b/plugins/CoreAdminHome/tests/Framework/Mock/API.php @@ -14,7 +14,7 @@ class API extends \Piwik\Plugins\CoreAdminHome\API private $invalidatedReports = array(); public function invalidateArchivedReports($idSites, $dates, $period = false, $segment = false, $cascadeDown = false, - $_forceInvalidateNonexistant = false) + $_forceInvalidateNonexistent = false) { $this->invalidatedReports[] = func_get_args(); } |