Skip to content

Commit

Permalink
Replace database namespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
LOBsTerr committed Jul 5, 2022
1 parent 904a7f4 commit 1e878e3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/ActivityRecordStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Drupal\entity_activity_tracker;

use Drupal\mysql\Driver\Database\mysql\Connection;
use Drupal\Core\Database\Connection;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Component\Datetime\TimeInterface;
use Drupal\Core\Database\Query\SelectInterface;
Expand All @@ -14,9 +14,9 @@
class ActivityRecordStorage implements ActivityRecordStorageInterface {

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

Expand All @@ -37,7 +37,7 @@ class ActivityRecordStorage implements ActivityRecordStorageInterface {
/**
* Constructs a new ActivityRecordStorage object.
*
* @param \Drupal\mysql\Database\Driver\mysql\Connection $database
* @param \Drupal\Core\Database\Connection $database
* The active database connection.
* @param \Drupal\Component\Datetime\TimeInterface $date_time
* The time service.
Expand Down
8 changes: 4 additions & 4 deletions src/Controller/ExportActivityRecordsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Drupal\Core\Config\ImmutableConfig;
use Drupal\Core\Controller\ControllerBase;
use Drupal\mysql\Driver\Database\mysql\Connection;
use Drupal\Core\Database\Connection;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\ResponseHeaderBag;
Expand All @@ -15,9 +15,9 @@
class ExportActivityRecordsController extends ControllerBase {

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

Expand All @@ -31,7 +31,7 @@ class ExportActivityRecordsController extends ControllerBase {
/**
* Constructs a new GroupMembershipController.
*
* @param \Drupal\mysql\Driver\Database\mysql\Connection $database
* @param \Drupal\Core\Database\Connection $database
* The active database connection.
* @param \Drupal\Core\Config\ImmutableConfig $filesystem_settings
* The 'system.file' config.
Expand Down

0 comments on commit 1e878e3

Please sign in to comment.