Fix: change the last $DB to $db

This commit is contained in:
Regis Houssin 2012-07-30 18:43:49 +02:00
parent 166bcb2a03
commit e44fd4885d
10 changed files with 46 additions and 46 deletions

View File

@ -2508,11 +2508,11 @@ class PropaleLigne
/**
* 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;
}
/**

View File

@ -2867,11 +2867,11 @@ class OrderLine
/**
* 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;
}
/**

View File

@ -42,11 +42,11 @@ class mailing_example extends MailingTargets
/**
* Constructor
*
* @param DoliDB $DB Database handler
* @param DoliDB $db Database handler
*/
function __construct($DB)
function __construct($db)
{
$this->db=$DB;
$this->db=$db;
}

View File

@ -43,15 +43,15 @@ class ActionsCardProduct extends Product
/**
* Constructor
*
* @param DoliDB $DB Database handler
* @param DoliDB $db Database handler
* @param string $dirmodule Name of directory of module
* @param string $targetmodule Name of directory where canvas is stored
* @param string $canvas Name of 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->targetmodule = $targetmodule;
$this->canvas = $canvas;

View File

@ -43,14 +43,14 @@ class ActionsCardService extends Product
/**
* 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 $canvas Name of 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->canvas = $canvas;
$this->card = $card;

View File

@ -37,15 +37,15 @@ class ActionsCardCompany extends ActionsCardCommon
/**
* 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 $targetmodule Name of directory of module where canvas is stored
* @param string $canvas Name of 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->targetmodule = $targetmodule;
$this->canvas = $canvas;

View File

@ -36,15 +36,15 @@ class ActionsCardIndividual extends ActionsCardCommon
/**
* 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 $targetmodule Name of directory of module where canvas is stored
* @param string $canvas Name of 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->targetmodule = $targetmodule;
$this->canvas = $canvas;