Index: trunk/kernel/units/user_profile/user_profile_eh.php =================================================================== diff -u -N --- trunk/kernel/units/user_profile/user_profile_eh.php (revision 8636) +++ trunk/kernel/units/user_profile/user_profile_eh.php (revision 0) @@ -1,43 +0,0 @@ - Array('subitem' => true), - 'OnUpdate' => Array('subitem' => true), - ); - - $this->permMapping = array_merge($this->permMapping, $permissions); - } - - /** - * Saves user profile to database - * - * @param kEvent $event - */ - function OnUpdate(&$event) - { - $items_info = $this->Application->GetVar($event->getPrefixSpecial(true)); - list ($user_id, $field_values) = each($items_info); - - if ($user_id != $this->Application->RecallVar('user_id')) { - // we are not updating own profile - return ; - } - - foreach ($field_values as $variable_name => $variable_value) { - $this->Application->StorePersistentVar($variable_name, unhtmlentities($variable_value)); - } - } - - - } - -?> \ No newline at end of file