diff --git a/core/trunk/core/class/StatusControler.php b/core/trunk/core/class/StatusControler.php
index e9b157a6f34b2cc7df3c404bd51b6212deb544f8..21d42f360c5c7053aad8d1958c00546bb7758a93 100644
--- a/core/trunk/core/class/StatusControler.php
+++ b/core/trunk/core/class/StatusControler.php
@@ -227,9 +227,7 @@ class Maarch_Core_Class_StatusControler
     {
         $error = "";
         $f = new functions();
-        $status->id = $f->protect_string_db(
-            $f->wash($status->id, 'no', _THE_ID . ' ', 'yes', 0, 10)
-        );
+        $status->id = $f->wash($status->id, 'no', _THE_ID . ' ', 'yes', 0, 10);
 
         if ($mode == 'add') {
             if (self::statusExists($status->id)) {
@@ -237,12 +235,10 @@ class Maarch_Core_Class_StatusControler
             }
         }
 
-        $status->label_status = $f->protect_string_db(
-            $f->wash($status->label_status, 'no', _DESC, 'yes', 0, 50)
-        );
-        $status->is_system = $f->protect_string_db(
-            $f->wash($status->is_system, 'no', _IS_SYSTEM)
-        );
+        $status->label_status =  $f->wash($status->label_status, 'no', _DESC, 'yes', 0, 50);
+
+        $status->is_system =  $f->wash($status->is_system, 'no', _IS_SYSTEM);
+        
         $status->img_filename = $status->img_filename;
         $status->maarch_module = 'apps';
 
diff --git a/core/trunk/core/class/usergroups_controler.php b/core/trunk/core/class/usergroups_controler.php
index 1fb9405dd1434a74e7da4676dfe5de11f7c6fdad..dfdf76c9da8e8638b94c5a6818145f991fb48671 100644
--- a/core/trunk/core/class/usergroups_controler.php
+++ b/core/trunk/core/class/usergroups_controler.php
@@ -465,22 +465,12 @@ class usergroups_controler extends ObjectControler implements ObjectControlerIF
         $error = "";
         $func = new functions();
 
-        $group->group_id = $func->protect_string_db(
-            $func->wash($group->group_id, 'no', _THE_GROUP, 'yes', 0, 32)
-        );
+        $group->group_id = $func->wash($group->group_id, 'no', _THE_GROUP, 'yes', 0, 32);
 
         if (isset($group->group_desc) && !empty($group->group_desc)) {
-            $group->group_desc  =  $func->protect_string_db(
-                $func->wash($group->group_desc, 'no', _GROUP_DESC, 'yes', 0, 255)
-            );
+            $group->group_desc  = $func->wash($group->group_desc, 'no', _GROUP_DESC, 'yes', 0, 255);
         }
 
-        /*if (count($security) < 1  && count($services) < 1) {
-            $func->add_error(
-                _THE_GROUP . ' ' . _NO_SECURITY_AND_NO_SERVICES, ''
-            );
-        }*/
-
         if ($mode == "add" && $this->groupExists($group->group_id)) {
             $func->add_error(
                 $group->group_id . ' ' . _ALREADY_EXISTS . "<br />"