I've replaced Database::getConnection() with \Drupal::database()
This is default way in Drupal Core.

Please review my changes

Comments

id.tarzanych created an issue. See original summary.

id.tarzanych’s picture

Status: Active » Needs review
StatusFileSize
new12.8 KB

  • salvis committed 1895c22 on 8.x-1.x
    #2610538 by id.tarzanych: Replace Database::getConnection() with \Drupal...
salvis’s picture

Assigned: id.tarzanych » Unassigned
Status: Needs review » Fixed

Thank you, id.tarzanych!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.