Merge pull request #23659 from owncloud/backport-23654-xcache-availablility
[9.0] xcache.var_size with 64M should evaluate to isAvailable
This commit is contained in:
commit
8d6aff69a8
|
@ -125,7 +125,7 @@ class XCache extends Cache implements IMemcache {
|
|||
// AND administration functions are password-protected.
|
||||
return false;
|
||||
}
|
||||
$var_size = \OC::$server->getIniWrapper()->getNumeric('xcache.var_size');
|
||||
$var_size = \OC::$server->getIniWrapper()->getBytes('xcache.var_size');
|
||||
if (!$var_size) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue