在include\generic\DeleteRelationship.php
if($bean_name == 'Team'){
$focus->retrieve($record);
$focus->remove_user_from_team($linked_id);
}
else{
// cut it off:
$focus->load_relationship($linked_field);
$bean_name1=$beanList[$_REQUEST['linked_field']];
require_once($beanFiles[$bean_name1]);
$f = new $bean_name1();
$f->mark_deleted($linked_id);//重点
}

相关文章:

  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2021-07-05
  • 2021-05-28
  • 2021-04-08
  • 2021-08-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-27
  • 2021-11-09
  • 2021-12-17
  • 2021-08-10
  • 2022-12-23
  • 2021-08-02
相关资源
相似解决方案