Commit 19a32bcc authored by Rajab Natshah's avatar Rajab Natshah Committed by Dieter Holvoet
Browse files

Issue #3290883 by Rajab Natshah, DieterHolvoet: Fix deprecation issue for the...

Issue #3290883 by Rajab Natshah, DieterHolvoet: Fix deprecation issue for the mysql driver on Drupal 9.4.0 
parent 6ab1e2ae
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

namespace Drupal\content_calendar;

use Drupal\Core\Database\Driver\mysql\Connection;
use Drupal\Core\Database\Connection;

/**
 * Implements ContentCalendarService class.
@@ -10,9 +10,9 @@ use Drupal\Core\Database\Driver\mysql\Connection;
class ContentCalendarService {

  /**
   * Drupal\Core\Database\Driver\mysql\Connection definition.
   * The database connection.
   *
   * @var \Drupal\Core\Database\Driver\mysql\Connection
   * @var \Drupal\Core\Database\Connection
   */
  protected $database;

+3 −3
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
namespace Drupal\content_kanban;

use Drupal\content_kanban\Entity\KanbanLog;
use Drupal\Core\Database\Driver\mysql\Connection;
use Drupal\Core\Database\Connection;
use Drupal\Core\Entity\EntityStorageException;
use Drupal\Core\Entity\EntityTypeManagerInterface;

@@ -13,9 +13,9 @@ use Drupal\Core\Entity\EntityTypeManagerInterface;
class KanbanLogService {

  /**
   * Drupal\Core\Database\Driver\mysql\Connection definition.
   * The database connection.
   *
   * @var \Drupal\Core\Database\Driver\mysql\Connection
   * @var \Drupal\Core\Database\Connection
   */
  protected $database;

+3 −3
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ use Drupal\content_calendar\ContentTypeConfigService;
use Drupal\content_kanban\Form\SettingsForm;
use Drupal\content_moderation\ModerationInformationInterface;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Database\Driver\mysql\Connection;
use Drupal\Core\Database\Connection;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\content_kanban\Form\KanbanFilterForm;
@@ -26,9 +26,9 @@ class KanbanService {
  protected $configFactory;

  /**
   * Drupal\Core\Database\Driver\mysql\Connection definition.
   * The database connection.
   *
   * @var \Drupal\Core\Database\Driver\mysql\Connection
   * @var \Drupal\Core\Database\Connection
   */
  protected $database;

+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

namespace Drupal\content_kanban;

use Drupal\Core\Database\Driver\mysql\Connection;
use Drupal\Core\Database\Connection;
use Drupal\workflows\Entity\Workflow;

/**
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

namespace Drupal\content_kanban;

use Drupal\Core\Database\Driver\mysql\Connection;
use Drupal\Core\Database\Connection;
use Drupal\content_moderation\ModerationInformationInterface;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Session\AccountInterface;
Loading