process_form.inc
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:1k
- <?php
- $temp_obj = new User;
- $temp_obj->user_name = $target_username;
- $temp_obj->domain_id = $user_obj->domain_id;
- $ret_vals = $user_db->Get( $temp_obj );
- $action_success = 'ERROR';
- if ( $ret_vals[ 0 ] == true ) {
- $temp_obj = $ret_vals[ 1 ];
- $ret_vals = $user_db->Delete( $temp_obj );
- if( $ret_vals[ 0 ] == true ) {
- $action_success = 'User sucessfully deleted.';
- } else {
- $action_success = 'ERROR in deleting user : ' . $ret_vals[ 2 ];
- }
- $ret_vals = $admin_db->Delete( $temp_obj->user_id );
- }
- include( './manager/templates/subdomain_user_management/user_navigator.inc' );
- ?>