On login, I use an internal library in the onApplicationInit which deletes all global variables. After the update to the above version I get the error message when starting the login
Parse error: syntax error, unexpected ‘$ this’ (T_VARIABLE)
If I call the content of the function directly at the onApplicationInit, it works.
I also call this internal library in other applications. So I want to keep this function in the internal library
I ask you to put this right again.
my function calling on onApplicationInit reset_global_CompanySettings();
<?php