Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation notice for accessing the config variable directly in the WhoDidIt behavior #39

Open
sourjya opened this issue Jun 7, 2018 · 1 comment

Comments

@sourjya
Copy link

sourjya commented Jun 7, 2018

Hi - with Cake 3.6, there is a deprecation notice for accessing the config variable directly in the WhoDidIt behavior. It is advised to use setConfig / getConfig directly.

Notice: Deprecated (16384): Utils\Model\Behavior\WhoDidItBehavior::config() is deprecated. Use setConfig()/getConfig() instead. - htdocs\my_project\vendor\cakemanager\cakephp-utils\src\Model\Behavior\WhoDidItBehavior.php, line: 69

This affects code from line 69 through 81

Will any updates be released? I've modified the behavior directly to get rid of the error, but would be nice to see the updates in the master.

Thank you.

@martonmiklos
Copy link
Collaborator

#41 will fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants