Fix: change the last $DB to $db
This commit is contained in:
parent
166bcb2a03
commit
e44fd4885d
@ -2508,11 +2508,11 @@ class PropaleLigne
|
|||||||
/**
|
/**
|
||||||
* Class line Contructor
|
* Class line Contructor
|
||||||
*
|
*
|
||||||
* @param DoliDB $DB Database handler
|
* @param DoliDB $db Database handler
|
||||||
*/
|
*/
|
||||||
function __construct($DB)
|
function __construct($db)
|
||||||
{
|
{
|
||||||
$this->db= $DB;
|
$this->db= $db;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2867,11 +2867,11 @@ class OrderLine
|
|||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param DoliDB $DB handler d'acces base de donnee
|
* @param DoliDB $db handler d'acces base de donnee
|
||||||
*/
|
*/
|
||||||
function __construct($DB)
|
function __construct($db)
|
||||||
{
|
{
|
||||||
$this->db= $DB;
|
$this->db= $db;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -42,11 +42,11 @@ class mailing_example extends MailingTargets
|
|||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param DoliDB $DB Database handler
|
* @param DoliDB $db Database handler
|
||||||
*/
|
*/
|
||||||
function __construct($DB)
|
function __construct($db)
|
||||||
{
|
{
|
||||||
$this->db=$DB;
|
$this->db=$db;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -43,15 +43,15 @@ class ActionsCardProduct extends Product
|
|||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param DoliDB $DB Database handler
|
* @param DoliDB $db Database handler
|
||||||
* @param string $dirmodule Name of directory of module
|
* @param string $dirmodule Name of directory of module
|
||||||
* @param string $targetmodule Name of directory where canvas is stored
|
* @param string $targetmodule Name of directory where canvas is stored
|
||||||
* @param string $canvas Name of canvas
|
* @param string $canvas Name of canvas
|
||||||
* @param string $card Name of tab (sub-canvas)
|
* @param string $card Name of tab (sub-canvas)
|
||||||
*/
|
*/
|
||||||
function __construct($DB, $dirmodule, $targetmodule, $canvas, $card)
|
function __construct($db, $dirmodule, $targetmodule, $canvas, $card)
|
||||||
{
|
{
|
||||||
$this->db = $DB;
|
$this->db = $db;
|
||||||
$this->dirmodule = $dirmodule;
|
$this->dirmodule = $dirmodule;
|
||||||
$this->targetmodule = $targetmodule;
|
$this->targetmodule = $targetmodule;
|
||||||
$this->canvas = $canvas;
|
$this->canvas = $canvas;
|
||||||
|
|||||||
@ -43,14 +43,14 @@ class ActionsCardService extends Product
|
|||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param DoliDB $DB Handler acces base de donnees
|
* @param DoliDB $db Handler acces base de donnees
|
||||||
* @param string $targetmodule Name of directory of module where canvas is stored
|
* @param string $targetmodule Name of directory of module where canvas is stored
|
||||||
* @param string $canvas Name of canvas
|
* @param string $canvas Name of canvas
|
||||||
* @param string $card Name of tab (sub-canvas)
|
* @param string $card Name of tab (sub-canvas)
|
||||||
*/
|
*/
|
||||||
function __construct($DB,$targetmodule,$canvas,$card)
|
function __construct($db,$targetmodule,$canvas,$card)
|
||||||
{
|
{
|
||||||
$this->db = $DB;
|
$this->db = $db;
|
||||||
$this->targetmodule = $targetmodule;
|
$this->targetmodule = $targetmodule;
|
||||||
$this->canvas = $canvas;
|
$this->canvas = $canvas;
|
||||||
$this->card = $card;
|
$this->card = $card;
|
||||||
|
|||||||
@ -37,15 +37,15 @@ class ActionsCardCompany extends ActionsCardCommon
|
|||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param DoliDB $DB Handler acces base de donnees
|
* @param DoliDB $db Handler acces base de donnees
|
||||||
* @param string $dirmodule Name of directory of module
|
* @param string $dirmodule Name of directory of module
|
||||||
* @param string $targetmodule Name of directory of module where canvas is stored
|
* @param string $targetmodule Name of directory of module where canvas is stored
|
||||||
* @param string $canvas Name of canvas
|
* @param string $canvas Name of canvas
|
||||||
* @param string $card Name of tab (sub-canvas)
|
* @param string $card Name of tab (sub-canvas)
|
||||||
*/
|
*/
|
||||||
function __construct($DB, $dirmodule, $targetmodule, $canvas, $card)
|
function __construct($db, $dirmodule, $targetmodule, $canvas, $card)
|
||||||
{
|
{
|
||||||
$this->db = $DB;
|
$this->db = $db;
|
||||||
$this->dirmodule = $dirmodule;
|
$this->dirmodule = $dirmodule;
|
||||||
$this->targetmodule = $targetmodule;
|
$this->targetmodule = $targetmodule;
|
||||||
$this->canvas = $canvas;
|
$this->canvas = $canvas;
|
||||||
|
|||||||
@ -36,15 +36,15 @@ class ActionsCardIndividual extends ActionsCardCommon
|
|||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param DoliDB $DB Handler acces base de donnees
|
* @param DoliDB $db Handler acces base de donnees
|
||||||
* @param string $dirmodule Name of directory of module
|
* @param string $dirmodule Name of directory of module
|
||||||
* @param string $targetmodule Name of directory of module where canvas is stored
|
* @param string $targetmodule Name of directory of module where canvas is stored
|
||||||
* @param string $canvas Name of canvas
|
* @param string $canvas Name of canvas
|
||||||
* @param string $card Name of tab (sub-canvas)
|
* @param string $card Name of tab (sub-canvas)
|
||||||
*/
|
*/
|
||||||
function __construct($DB, $dirmodule, $targetmodule, $canvas, $card)
|
function __construct($db, $dirmodule, $targetmodule, $canvas, $card)
|
||||||
{
|
{
|
||||||
$this->db = $DB;
|
$this->db = $db;
|
||||||
$this->dirmodule = $dirmodule;
|
$this->dirmodule = $dirmodule;
|
||||||
$this->targetmodule = $targetmodule;
|
$this->targetmodule = $targetmodule;
|
||||||
$this->canvas = $canvas;
|
$this->canvas = $canvas;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user