The 'PHP memory limit' requirement is displayed twice, because panopoly_core_requirements() adds it as a separate requirement instead of overwriting $requirements['php_memory_limit'].

Comments

pancho’s picture

Screenshot and patch.

pancho’s picture

Status: Active » Needs review
populist’s picture

I believe this was changed as a result of #1953428: Panopoly Core + Hook Requirements, but perhaps that was in error.

pancho’s picture

Assigned: Unassigned » pancho

Hmm, I remember it worked when I wrote this patch which in fact just reverts #1953428: Panopoly Core + Hook Requirements.
I'm gonna check this tomorrow or so.

populist’s picture

StatusFileSize
new1.69 KB

Here is a patch that sets the PHP memory limit on a global basis. It needs to work around the Array problem seen #1953428: Panopoly Core + Hook Requirements, but I think does so just fine. This will need a bit more testing around install, but here it is for others to check out. The trick was not redefining the $requirements['php_memory_limit'] array since module_invoke() will aggregate the data making it unreadable by system_status().

lsolesen’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

The patch in #5 successfully removes the extra memory requirement.

mrfelton’s picture

Status: Reviewed & tested by the community » Needs work

With this patch applied I don't see the PHP memory requirement status entry at all.