Merge pull request #24717 from nextcloud/enh/noid/memory_limit_to_error
promoted bad memory_limit check from warning to error as it may break updater
This commit is contained in:
commit
cc9cbc56b8
|
@ -453,7 +453,7 @@
|
|||
'core',
|
||||
'The PHP memory limit is below the recommended value of 512MB.'
|
||||
),
|
||||
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
|
||||
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -695,7 +695,7 @@ describe('OC.SetupChecks tests', function() {
|
|||
async.done(function( data, s, x ){
|
||||
expect(data).toEqual([{
|
||||
msg: 'The PHP memory limit is below the recommended value of 512MB.',
|
||||
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
|
||||
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
|
||||
}]);
|
||||
done();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue