mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 23:55:26 +02:00
[ticket/11103] dbal -> phpbb_db_driver
PHPBB3-11103
This commit is contained in:
parent
1cdb0ecbf2
commit
ddd874ba76
@ -33,7 +33,7 @@ class phpbb_notification_manager
|
||||
/** @var phpbb_user_loader */
|
||||
protected $user_loader = null;
|
||||
|
||||
/** @var dbal */
|
||||
/** @var phpbb_db_driver */
|
||||
protected $db = null;
|
||||
|
||||
/** @var phpbb_user */
|
||||
@ -51,7 +51,7 @@ class phpbb_notification_manager
|
||||
/** @var string */
|
||||
protected $user_notifications_table = null;
|
||||
|
||||
public function __construct($notification_types, $notification_methods, $phpbb_container, phpbb_user_loader $user_loader, dbal $db, $user, $phpbb_root_path, $php_ext, $notifications_table, $user_notifications_table)
|
||||
public function __construct($notification_types, $notification_methods, $phpbb_container, phpbb_user_loader $user_loader, phpbb_db_driver $db, $user, $phpbb_root_path, $php_ext, $notifications_table, $user_notifications_table)
|
||||
{
|
||||
$this->notification_types = $notification_types;
|
||||
$this->notification_methods = $notification_methods;
|
||||
|
@ -27,7 +27,7 @@ abstract class phpbb_notification_method_base implements phpbb_notification_meth
|
||||
/** @var phpbb_user_loader */
|
||||
protected $user_loader = null;
|
||||
|
||||
/** @var dbal */
|
||||
/** @var phpbb_db_driver */
|
||||
protected $db = null;
|
||||
|
||||
/** @var phpbb_cache_service */
|
||||
@ -61,7 +61,7 @@ abstract class phpbb_notification_method_base implements phpbb_notification_meth
|
||||
*/
|
||||
protected $queue = array();
|
||||
|
||||
public function __construct(phpbb_user_loader $user_loader, dbal $db, phpbb_cache_driver_interface $cache, $user, phpbb_auth $auth, phpbb_config $config, $phpbb_root_path, $php_ext)
|
||||
public function __construct(phpbb_user_loader $user_loader, phpbb_db_driver $db, phpbb_cache_driver_interface $cache, $user, phpbb_auth $auth, phpbb_config $config, $phpbb_root_path, $php_ext)
|
||||
{
|
||||
$this->user_loader = $user_loader;
|
||||
$this->db = $db;
|
||||
|
@ -27,7 +27,7 @@ abstract class phpbb_notification_type_base implements phpbb_notification_type_i
|
||||
/** @var phpbb_user_loader */
|
||||
protected $user_loader = null;
|
||||
|
||||
/** @var dbal */
|
||||
/** @var phpbb_db_driver */
|
||||
protected $db = null;
|
||||
|
||||
/** @var phpbb_cache_service */
|
||||
@ -84,7 +84,7 @@ abstract class phpbb_notification_type_base implements phpbb_notification_type_i
|
||||
*/
|
||||
private $data = array();
|
||||
|
||||
public function __construct(phpbb_user_loader $user_loader, dbal $db, phpbb_cache_driver_interface $cache, $user, phpbb_auth $auth, phpbb_config $config, $phpbb_root_path, $php_ext, $notifications_table, $user_notifications_table)
|
||||
public function __construct(phpbb_user_loader $user_loader, phpbb_db_driver $db, phpbb_cache_driver_interface $cache, $user, phpbb_auth $auth, phpbb_config $config, $phpbb_root_path, $php_ext, $notifications_table, $user_notifications_table)
|
||||
{
|
||||
$this->user_loader = $user_loader;
|
||||
$this->db = $db;
|
||||
|
@ -24,7 +24,7 @@ if (!defined('IN_PHPBB'))
|
||||
*/
|
||||
class phpbb_user_loader
|
||||
{
|
||||
/** @var dbal */
|
||||
/** @var phpbb_db_driver */
|
||||
protected $db = null;
|
||||
|
||||
/** @var string */
|
||||
@ -46,12 +46,12 @@ class phpbb_user_loader
|
||||
/**
|
||||
* User loader constructor
|
||||
*
|
||||
* @param dbal $db A database connection
|
||||
* @param phpbb_db_driver $db A database connection
|
||||
* @param string $phpbb_root_path Path to the phpbb includes directory.
|
||||
* @param string $php_ext php file extension
|
||||
* @param string $users_table The name of the database table (phpbb_users)
|
||||
*/
|
||||
public function __construct(dbal $db, $phpbb_root_path, $php_ext, $users_table)
|
||||
public function __construct(phpbb_db_driver $db, $phpbb_root_path, $php_ext, $users_table)
|
||||
{
|
||||
$this->db = $db;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user