mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Remove Config deprecated methods in v2.7
This commit is contained in:
@@ -1524,83 +1524,6 @@ class Config
|
|||||||
$this->m_aAddons = $aAddons;
|
$this->m_aAddons = $aAddons;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return string
|
|
||||||
*
|
|
||||||
* @deprecated 2.5 will be removed in 2.6
|
|
||||||
* @see Config::Get() as a replacement
|
|
||||||
*/
|
|
||||||
public function GetDBHost()
|
|
||||||
{
|
|
||||||
return $this->Get('db_host');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return string
|
|
||||||
*
|
|
||||||
* @deprecated 2.5 will be removed in 2.6
|
|
||||||
* @see Config::Get() as a replacement
|
|
||||||
*/
|
|
||||||
public function GetDBName()
|
|
||||||
{
|
|
||||||
return $this->Get('db_name');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return string
|
|
||||||
*
|
|
||||||
* @deprecated 2.5 will be removed in 2.6
|
|
||||||
* @see Config::Get() as a replacement
|
|
||||||
*/
|
|
||||||
public function GetDBSubname()
|
|
||||||
{
|
|
||||||
return $this->Get('db_subname');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return string
|
|
||||||
*
|
|
||||||
* @deprecated 2.5 will be removed in 2.6 #1001 utf8mb4 switch
|
|
||||||
* @see Config::DEFAULT_CHARACTER_SET
|
|
||||||
*/
|
|
||||||
public function GetDBCharacterSet()
|
|
||||||
{
|
|
||||||
return DEFAULT_CHARACTER_SET;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return string
|
|
||||||
*
|
|
||||||
* @deprecated 2.5 will be removed in 2.6 #1001 utf8mb4 switch
|
|
||||||
* @see Config::DEFAULT_COLLATION
|
|
||||||
*/
|
|
||||||
public function GetDBCollation()
|
|
||||||
{
|
|
||||||
return DEFAULT_COLLATION;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return string
|
|
||||||
*
|
|
||||||
* @deprecated 2.5 will be removed in 2.6
|
|
||||||
* @see Config::Get() as a replacement
|
|
||||||
*/
|
|
||||||
public function GetDBUser()
|
|
||||||
{
|
|
||||||
return $this->Get('db_user');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return string
|
|
||||||
*
|
|
||||||
* @deprecated 2.5 will be removed in 2.6
|
|
||||||
* @see Config::Get() as a replacement
|
|
||||||
*/
|
|
||||||
public function GetDBPwd()
|
|
||||||
{
|
|
||||||
return $this->Get('db_pwd');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function GetLogGlobal()
|
public function GetLogGlobal()
|
||||||
{
|
{
|
||||||
return $this->m_bLogGlobal;
|
return $this->m_bLogGlobal;
|
||||||
|
|||||||
Reference in New Issue
Block a user