diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-04-05 01:16:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 01:16:51 +0300 |
commit | 63252ee0c4430c10ba79d87307f8f88bcf9dfddd (patch) | |
tree | 33d233b9432e0f254ad009266a2961053deb02b2 /tests | |
parent | a0e631eb87f6addaf587f849323b28619008d540 (diff) |
Remove unneeded code (#18705)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PHPUnit/Fixtures/LatestStableInstall.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/PHPUnit/Fixtures/LatestStableInstall.php b/tests/PHPUnit/Fixtures/LatestStableInstall.php index 4c15b8e847..515e7c9204 100644 --- a/tests/PHPUnit/Fixtures/LatestStableInstall.php +++ b/tests/PHPUnit/Fixtures/LatestStableInstall.php @@ -79,16 +79,6 @@ class LatestStableInstall extends Fixture } shell_exec('mv "' . $installSubdirectory . '"/piwik/* "' . $installSubdirectory . '"'); - - /** - * The additional permissions check was added within Matomo 4.8 development. Therefor the OneClickUpdate UI tests - * would not already perform this check, as it uses the latest stable version to perform an update the the git checkout. - * As soon as 4.8 has been release, which should include the permission check, this won't be needed anymore. - * - * @todo remove this after Matomo 4.8 has been released - */ - shell_exec('curl https://raw.githubusercontent.com/matomo-org/matomo/4.x-dev/plugins/CoreUpdater/Updater.php > ' . $installSubdirectory . '/plugins/CoreUpdater/Updater.php'); - shell_exec('curl https://raw.githubusercontent.com/matomo-org/matomo/4.x-dev/plugins/CoreUpdater/lang/en.json > ' . $installSubdirectory . '/plugins/CoreUpdater/lang/en.json'); } private function installSubdirectoryInstall() |