mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Replace call for Logger with DI::logger()
This commit is contained in:
parent
1cc5a6688e
commit
4310c1355d
20 changed files with 21 additions and 40 deletions
|
@ -7,7 +7,6 @@
|
|||
*/
|
||||
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\DI;
|
||||
use Friendica\Core\Config\Util\ConfigFileManager;
|
||||
|
@ -45,7 +44,7 @@ function geonames_post_hook(array &$item)
|
|||
* - The profile owner must have allowed our addon
|
||||
*/
|
||||
|
||||
Logger::notice('geonames invoked');
|
||||
DI::logger()->notice('geonames invoked');
|
||||
|
||||
if (!DI::userSession()->getLocalUserId()) { /* non-zero if this is a logged in user of this system */
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue