Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
422 B

  1. <?php
  2. function filerm_content(&$a) {
  3. if(! local_user()) {
  4. killme();
  5. }
  6. $term = unxmlify(trim($_GET['term']));
  7. $item_id = (($a->argc > 1) ? intval($a->argv[1]) : 0);
  8. logger('filerm: tag ' . $term . ' item ' . $item_id);
  9. if($item_id && strlen($term))
  10. file_tag_unsave_file(local_user(),$item_id,$term);
  11. if(x($_SESSION,'return_url'))
  12. goaway($a->get_baseurl() . '/' . $_SESSION['return_url']);
  13. killme();
  14. }