public static function deleteTreeItemBySID($item_sid)
 {
     return SJB_UserProfileFieldTreeManager::deleteTreeItemBySID($item_sid);
 }
 public static function deleteTreeItemBySID($item_sid)
 {
     $children = SJB_DB::query("SELECT sid FROM user_profile_field_tree WHERE parent_sid = ?n", $item_sid);
     foreach ($children as $child) {
         SJB_UserProfileFieldTreeManager::deleteTreeItemBySID($child['sid']);
     }
     return SJB_DB::query("DELETE FROM user_profile_field_tree WHERE sid = ?n", $item_sid);
 }