Skip to content

The flush controller does not record the result of opache_reset #3

@hardyjohnson

Description

@hardyjohnson

The flush controller does not capture the return value of opcache_reset and will automatically report success even if that not true. It might be good to log the status of the reset itself not just the logging function.

https://github.com/element119/module-admin-opcache-report/blob/master/Controller/Adminhtml/Index/Flush.php#L35

https://www.php.net/manual/en/function.opcache-reset.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions