diff --git a/core/trunk/core/class/users_controler.php b/core/trunk/core/class/users_controler.php
index 29ea6c5cd187e7a55446616b4a98e8310f259bdc..e6344c69303632d80bc00d26fb12f1e9ebcb0074 100644
--- a/core/trunk/core/class/users_controler.php
+++ b/core/trunk/core/class/users_controler.php
@@ -36,6 +36,7 @@ try {
     require_once 'core/class/ObjectControlerAbstract.php';
     require_once 'core/class/ObjectControlerIF.php';
     require_once 'core/class/class_history.php';
+    require_once 'modules/entities/class/class_users_entities.php';
 } catch (Exception $e){
     echo $e->getMessage() . ' // ';
 }
@@ -492,6 +493,8 @@ class users_controler extends ObjectControler implements ObjectControlerIF
     */
     public function delete($user, $params=array())
     {
+        $core_tools = new core_tools();
+        
         $control = array();
         if (! isset($user) || empty($user)) {
             $control = array(