acs_user::erase_portrait (public)
acs_user::erase_portrait -user_id user_id
Defined in packages/acs-tcl/tcl/community-core-procs.tcl
Erases portrait of a user
- Switches:
- -user_id (required)
- user_id of user whose portrait we want to delete
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- auth_authenticate, demote_promote_a_user
Source code: set item_id [acs_user::get_portrait_id -user_id $user_id] if { $item_id != 0 } { # Delete the item content::item::delete -item_id $item_id } acs_user::flush_portrait -user_id $user_idGeneric XQL file: packages/acs-tcl/tcl/community-core-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/community-core-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/community-core-procs-oracle.xql