Closed (fixed)
Project:
Block Inactive Users
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Jul 2019 at 21:53 UTC
Updated:
11 Jul 2019 at 11:40 UTC
Jump to comment: Most recent
In InactiveUsersHandler.php:191, there's a call to a deprecated function \Drupal::url.
Could we update this to use the \Drupal\Core\Url object instead?
------ ----------------------------------------------------------------------
Line src\InactiveUsersHandler.php
------ ----------------------------------------------------------------------
191 Call to deprecated method url() of class Drupal:
as of Drupal 8.0.x, will be removed before Drupal 9.0.0.
Instead create a \Drupal\Core\Url object directly, for example using
Url::fromRoute().
------ ----------------------------------------------------------------------
Comments
Comment #2
rawdreeg commentedThanks for raising this, AdamBernstein. I will pick this up.
R
Comment #3
rawdreeg commentedI have merged in a fix for this.
Thanks
Comment #4
rawdreeg commentedComment #5
adambernstein commentedNice work, thanks for the quick response!
Comment #6
rawdreeg commented