diff --git a/htdocs/core/db/DoliDB.class.php b/htdocs/core/db/DoliDB.class.php index 5fae6dab374..3413e381547 100644 --- a/htdocs/core/db/DoliDB.class.php +++ b/htdocs/core/db/DoliDB.class.php @@ -135,6 +135,16 @@ abstract class DoliDB implements Database return explode('.',$this->getVersion()); } + /** + * Return label of manager + * + * @return string Label + */ + function getLabel() + { + return $this->label; + } + /** * Define sort criteria of request * diff --git a/htdocs/core/db/mssql.class.php b/htdocs/core/db/mssql.class.php index 7459b4c0019..f96423b1a66 100644 --- a/htdocs/core/db/mssql.class.php +++ b/htdocs/core/db/mssql.class.php @@ -173,16 +173,6 @@ class DoliDBMssql extends DoliDB return $this->db; } - /** - * Return label of manager - * - * @return string Label - */ - function getLabel() - { - return $this->label; - } - /** * Return version of database server * diff --git a/htdocs/core/db/mysql.class.php b/htdocs/core/db/mysql.class.php index 2bf0474157f..4f06fb772b8 100644 --- a/htdocs/core/db/mysql.class.php +++ b/htdocs/core/db/mysql.class.php @@ -201,16 +201,6 @@ class DoliDBMysql extends DoliDB return $this->db; } - /** - * Return label of manager - * - * @return string Label - */ - function getLabel() - { - return $this->label; - } - /** * Return version of database server * diff --git a/htdocs/core/db/mysqli.class.php b/htdocs/core/db/mysqli.class.php index bf9808a39e2..33cea437afe 100644 --- a/htdocs/core/db/mysqli.class.php +++ b/htdocs/core/db/mysqli.class.php @@ -205,16 +205,6 @@ class DoliDBMysqli extends DoliDB return $this->db; } - /** - * Return label of manager - * - * @return string Label - */ - function getLabel() - { - return $this->label; - } - /** * Return version of database server * diff --git a/htdocs/core/db/pgsql.class.php b/htdocs/core/db/pgsql.class.php index a284756caed..bb14ebade32 100644 --- a/htdocs/core/db/pgsql.class.php +++ b/htdocs/core/db/pgsql.class.php @@ -402,16 +402,6 @@ class DoliDBPgsql extends DoliDB return $this->db; } - /** - * Return label of manager - * - * @return string Label - */ - function getLabel() - { - return $this->label; - } - /** * Return version of database server * diff --git a/htdocs/core/db/sqlite.class.php b/htdocs/core/db/sqlite.class.php index a631fad8220..f4cf57bb9be 100644 --- a/htdocs/core/db/sqlite.class.php +++ b/htdocs/core/db/sqlite.class.php @@ -323,15 +323,6 @@ class DoliDBSqlite extends DoliDB return $this->db; } - /** - * Return label of manager - * - * @return string Label - */ - function getLabel() - { - return $this->label; - } /** * Return version of database server