You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (in_array(\OC\Memcache\Memcached::class, array_map(fn (string$class) => ltrim($class, '\\'), $caches))) {
56
+
if (extension_loaded('memcache')) {
57
+
return SetupResult::warning(
58
+
$this->l10n->t('Memcached is configured as distributed cache, but the wrong PHP module "memcache" is installed. \\OC\\Memcache\\Memcached only supports "memcached" and not "memcache".'),
Copy file name to clipboardExpand all lines: core/js/setupchecks.js
-8Lines changed: 0 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -188,14 +188,6 @@
188
188
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
189
189
});
190
190
}
191
-
if(!data.isCorrectMemcachedPHPModuleInstalled){
192
-
messages.push({
193
-
msg: t('core','Memcached is configured as distributed cache, but the wrong PHP module "memcache" is installed. \\OC\\Memcache\\Memcached only supports "memcached" and not "memcache". See the {linkstart}memcached wiki about both modules ↗{linkend}.')
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.'),
msg: 'Memcached is configured as distributed cache, but the wrong PHP module "memcache" is installed. \\OC\\Memcache\\Memcached only supports "memcached" and not "memcache". See the <a target="_blank" rel="noreferrer noopener" class="external" href="https://code.google.com/p/memcached/wiki/PHPClientComparison">memcached wiki about both modules ↗</a>.',
369
-
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
370
-
}]);
371
-
done();
372
-
});
373
-
});
374
-
375
334
it('should return an error if set_time_limit is unavailable',function(done){
0 commit comments