Fix enotice when Log service is swapped out
authoreileen <emcnaughton@wikimedia.org>
Mon, 26 Apr 2021 05:23:13 +0000 (17:23 +1200)
committerColeman Watts <coleman@civicrm.org>
Wed, 5 May 2021 00:25:18 +0000 (20:25 -0400)
commit82073f7bb13fb632c25236aae72d8ebf83ff54eb
tree1c0745c6007532f79ea148b37dc89309a5c92873
parent6ae34f2cca35fb59b69bff71bb1d2c51c32a4c65
Fix enotice when Log service is swapped out

This function is calling a property on the psr_log service that may not exist. If the
service is swapped out there is no reason the replacement should have this property.
CRM/Core/Error/Log.php
Civi/API/LogObserver.php