diff --git a/core/trunk/core/class/StatusControler.php b/core/trunk/core/class/StatusControler.php
index 098022baa2db56a07c06f0bf34f1af2bbd42005c..0e59b3b6d6f370b7b6a697d633978921a3bfd91d 100644
--- a/core/trunk/core/class/StatusControler.php
+++ b/core/trunk/core/class/StatusControler.php
@@ -93,7 +93,7 @@ class Maarch_Core_Class_StatusControler
     *                                         log status modification ,
     *                 'log_status_add'   => 'true' / 'false': log status
     *                                          addition,
-    *                 'databasetype'     => Type of the database ('POSTGRESQL'),
+    *                 'databasetype'     => Type of the database
     *                 )
     * @return array (  'status' => 'ok' / 'ko',
     *                  'value'  => User identifier or empty in case of error,
@@ -217,7 +217,6 @@ class Maarch_Core_Class_StatusControler
     *                     'log_status_add'     => 'true' / 'false': log status
     *                                               addition,
     *                     'databasetype'       => Type of the database
-    *                                               ('POSTGRESQL', ...)
     *                )
     * @return array (  'status' => 'ok' / 'ko',
     *                  'value'  => Status identifier or empty in case of error,
diff --git a/core/trunk/core/class/class_db.php b/core/trunk/core/class/class_db.php
index 6b93aa0561f02e1ac572c9f270a00761110ff497..dc7105f8bea4c87797df8b3a4a78dc9752610718 100644
--- a/core/trunk/core/class/class_db.php
+++ b/core/trunk/core/class/class_db.php
@@ -886,6 +886,5 @@ class dbquery extends functions
         default             : return "''";
         }
     }
-
     
 }
diff --git a/core/trunk/core/class/class_functions.php b/core/trunk/core/class/class_functions.php
index 3f78065b4077b88efeb67637e9fcfbc96ae5f44f..b2523eb152077ef39121e4448cebd57370cb7473 100644
--- a/core/trunk/core/class/class_functions.php
+++ b/core/trunk/core/class/class_functions.php
@@ -321,14 +321,7 @@ class functions
                         return "";
                     }
                 case "date":
-                    if(isset($_SESSION['config']['databasetype']) && $_SESSION['config']['databasetype'] == "SQLSERVER")
-                    {
-                        $date_pattern = "/^[0-3][0-9]-[0-1][0-9]-[1-2][0-9][0-9][0-9]$/";
-                    }
-                    else // MYSQL & POSTGRESQL
-                    {
-                        $date_pattern = "/^[0-3][0-9]-[0-1][0-9]-[1-2][0-9][0-9][0-9]$/";
-                    }
+                    $date_pattern = "/^[0-3][0-9]-[0-1][0-9]-[1-2][0-9][0-9][0-9]$/";
                     if(preg_match($date_pattern,$w_var))
                     {
                         return $w_var;
diff --git a/core/trunk/core/class/class_history.php b/core/trunk/core/class/class_history.php
index 351bbd7cd82e31b5eee17c5e386d2522cc9a99e5..c9567bc0beb026acd5da1f0c0a3d47587a9efde0 100644
--- a/core/trunk/core/class/class_history.php
+++ b/core/trunk/core/class/class_history.php
@@ -46,7 +46,7 @@ class history extends dbquery
     * @param  $id integer Identifier of the event to add
     * @param  $how string Event type (Keyword)
     * @param  $what string Event description
-    * @param  $databasetype string Type of the database (MYSQL, POSTGRESQL, etc...)
+    * @param  $databasetype string Type of the database
     * @param  $id_module string Identifier of the module concerned 
     * by the event (admin by default)
     */
diff --git a/core/trunk/core/class/class_request.php b/core/trunk/core/class/class_request.php
index 43e5ffdd970f3915baa4cfa2463580d1c1d43bdd..fc15697dc51b1ccc312c3710a48c366b161cca2b 100644
--- a/core/trunk/core/class/class_request.php
+++ b/core/trunk/core/class/class_request.php
@@ -42,7 +42,7 @@ class request extends dbquery
     * @param  $select array Query fields
     * @param  $where  string Where clause of the query
     * @param  $other  string Query complement (order by, ...)
-    * @param  $database_type string Type of the database (MYSQL, POSTGRESQL, ...)
+    * @param  $database_type string Type of the database
     * @param  $limit string Maximum numbers of results (500 by default)
     * @param  $left_join boolean Is the request is a left join ? (false by default)
     * @param  $first_join_table string Name of the first join table (empty by default)
@@ -198,7 +198,7 @@ class request extends dbquery
     *
     * @param string $table table to insert
     * @param array $data data to insert
-    * @param array $database_type type of the database (MYSQL, POSTGRESQL, ...)
+    * @param array $database_type type of the database
     * @return bool True if the query was sent ok and processed by the database without error, False otherwise
     */
     public function insert($table, $data, $database_type)
@@ -238,7 +238,7 @@ class request extends dbquery
     * @param  $table string Table to update
     * @param  $data array Data to update
     * @param  $where array Where clause of the query
-    * @param  $database_type array Type of the database (MYSQL, POSTGRESQL, ...)
+    * @param  $database_type array Type of the database
     */
     public function update($table, $data, $where, $databasetype)
     {
diff --git a/core/trunk/core/class/usergroups_controler.php b/core/trunk/core/class/usergroups_controler.php
index ceea112c2afac037d29a52459b9ea2c41e13b2de..6de2c5083486af164d9657a106ce828d01072c5c 100644
--- a/core/trunk/core/class/usergroups_controler.php
+++ b/core/trunk/core/class/usergroups_controler.php
@@ -254,7 +254,7 @@ class usergroups_controler extends ObjectControler implements ObjectControlerIF
     *      'modules_services'      => $_SESSION['modules_services'] type array,
     *      'log_group_up'          => 'true' / 'false': log group modification ,
     *      'log_group_add'         => 'true' / 'false': log group addition ,
-    *      'databasetype'          => Type of the database ('POSTGRESQL', ...),
+    *      'databasetype'          => Type of the database,
     *      'user_id'               => Current user identifier (used to process
     *                                 context variables : @entities, ...)
     *       )
@@ -451,7 +451,7 @@ class usergroups_controler extends ObjectControler implements ObjectControlerIF
     *           'modules_services'  => $_SESSION['modules_services'] type array,
     *           'log_group_up'      => 'true' / 'false': log group modification,
     *           'log_group_add'     => 'true' / 'false': log group addition ,
-    *           'databasetype'      => Type of the database ('POSTGRESQL', ...)
+    *           'databasetype'      => Type of the database
     *          )
     * @return array (
     *           'status' => 'ok' / 'ko',
diff --git a/core/trunk/core/class/users_controler.php b/core/trunk/core/class/users_controler.php
index 4b134e169a7e5450af1996f988985470c1595fac..66346ed2a988398f6c6821ef5a862e7cefecbf1e 100644
--- a/core/trunk/core/class/users_controler.php
+++ b/core/trunk/core/class/users_controler.php
@@ -142,7 +142,7 @@ class users_controler extends ObjectControler implements ObjectControlerIF
     *                 'log_user_up'      => 'true' / 'false':
     *                                       log user modification ,
     *                 'log_user_add'     => 'true' / 'false': log user addition,
-    *                 'databasetype'     => Type of the database ('POSTGRESQL'),
+    *                 'databasetype'     => Type of the database,
     *                 'userdefaultpassword' => Default password for user,
     *                 'manageGroups'     => If true manage groups for the user
     *                                       )
@@ -289,7 +289,6 @@ class users_controler extends ObjectControler implements ObjectControlerIF
     *                     'log_user_add'       => 'true' / 'false': log user
     *                                             addition ,
     *                     'databasetype'       => Type of the database
-    *                                             ('POSTGRESQL', ...),
     *                     'userdefaultpassword' => Default password for user,
     *                     'manageGroups'     => If true manage groups for the user
     *                )