original_string: public function delete_category(category_controller $category) : bool {
          $category = $this->validate_category($category);
          $result = api::delete_category($category);
          $this->clear_configuration_cache();
          return $result;
      }
code: public function delete_category(category_controller $category) : bool {
          $category = $this->validate_category($category);
          $result = api::delete_category($category);
          $this->clear_configuration_cache();
          return $result;
      }
code_tokens: public function delete_category ( category_controller $ category ) : bool { $ category = $ this -> validate_category ( $ category ) ; $ result = api :: delete_category ( $ category ) ; $ this -> clear_configuration_cache ( ) ; return $ result ; }
docstring: Permanently delete category, all fields in it and all associated data
  
  @param category_controller $category
  @return bool
docstring_tokens: Permanently delete category all fields in it and all associated data