aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/setupchecks.js
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-01-08 17:35:11 +0100
committerGitHub <noreply@github.com>2024-01-08 17:35:11 +0100
commitadfe883102f69cf1f5a05a3d6bb3616e81a4609f (patch)
tree173f11268c7d9632747f24773257feb78f80b4df /core/js/setupchecks.js
parentdd8297553c59cac22571b716cc519e8638158bc8 (diff)
parent94d039922956c28484d98669caeea97f89e77adb (diff)
downloadnextcloud-server-adfe883102f69cf1f5a05a3d6bb3616e81a4609f.tar.gz
nextcloud-server-adfe883102f69cf1f5a05a3d6bb3616e81a4609f.zip
Merge pull request #41547 from nextcloud/feat/migrate-opcache-check-to-new-api
Migrate opcache check to new SetupCheck API
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r--core/js/setupchecks.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index e7ad920760e..e85f32dae4a 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -240,18 +240,6 @@
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
});
}
- if(data.OpcacheSetupRecommendations.length > 0) {
- var listOfOPcacheRecommendations = "";
- data.OpcacheSetupRecommendations.forEach(function(element){
- listOfOPcacheRecommendations += '<li>' + element + '</li>';
- });
- messages.push({
- msg: t('core', 'The PHP OPcache module is not properly configured. See the {linkstart}documentation ↗{linkend} for more information.')
- .replace('{linkstart}', '<a target="_blank" rel="noreferrer noopener" class="external" href="' + OC.theme.docPlaceholderUrl.replace('PLACEHOLDER', 'admin-php-opcache') + '">')
- .replace('{linkend}', '</a>') + '<ul>' + listOfOPcacheRecommendations + '</ul>',
- type: OC.SetupChecks.MESSAGE_TYPE_INFO
- });
- }
if(!data.isSettimelimitAvailable) {
messages.push({
msg: t('core', 'The PHP function "set_time_limit" is not available. This could result in scripts being halted mid-execution, breaking your installation. Enabling this function is strongly recommended.'),