Commit d42024a9 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1636866: Allowing the empty check of get_config() option"

parents abf71b15 86a52f49
......@@ -450,7 +450,8 @@ class PluginAuthSaml extends PluginAuth {
$libchecks .= '<li>' . get_string('errorbadlib', 'auth.saml', get_config('docroot') .'auth/saml/extlib/simplesamlphp/vendor/autoload.php') . '</li>';
}
// Make sure we can use 'memcache' with simplesamlphp as 'phpsession' doesn't work correctly in many situations
if (empty(get_config('memcacheservers')) && !extension_loaded('memcache')) {
$memcacheservers_config = get_config('memcacheservers');
if (empty($memcacheservers_config) && !extension_loaded('memcache')) {
$libchecks .= '<li>' . get_string('errornomemcache', 'auth.saml') . '</li>';
}
if (!empty($libchecks)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment