diff --git a/include/class/database.class.php b/include/class/database.class.php index 23f67dafa..eed0e60f5 100644 --- a/include/class/database.class.php +++ b/include/class/database.class.php @@ -112,5 +112,114 @@ class Database extends DatabaseCore return $Res; } + /** + * \brief loop to apply all the path to a folder or + * a template + * \param $p_name database name + * + */ + + function apply_patch($p_name) + { + if (!$this->exist_table('version')) { + echo _('Base de donnée vide'); + return; + } + $MaxVersion = DBVERSION - 1; + $succeed = ""; + echo ''; + } } \ No newline at end of file diff --git a/include/lib/database_core.class.php b/include/lib/database_core.class.php index a38725d29..2b3bd9e8e 100644 --- a/include/lib/database_core.class.php +++ b/include/lib/database_core.class.php @@ -390,115 +390,6 @@ class DatabaseCore return $this->size($p_ret); } - /** - * \brief loop to apply all the path to a folder or - * a template - * \param $p_name database name - * - */ - - function apply_patch($p_name) - { - if (!$this->exist_table('version')) { - echo _('Base de donnée vide'); - return; - } - $MaxVersion = DBVERSION - 1; - $succeed = ""; - echo ''; - } /** *