original_string: public function delete($username): bool
      {
          $file_path = Grav::instance()['locator']->findResource('account://' . $username . YAML_EXT);
  
          return $file_path && unlink($file_path);
      }
code: public function delete($username): bool
      {
          $file_path = Grav::instance()['locator']->findResource('account://' . $username . YAML_EXT);
  
          return $file_path && unlink($file_path);
      }
code_tokens: public function delete ( $ username ) : bool { $ file_path = Grav :: instance ( ) [ 'locator' ] -> findResource ( 'account://' . $ username . YAML_EXT ) ; return $ file_path && unlink ( $ file_path ) ; }
docstring: Remove user account.
  
  @param string $username
  
  @return bool True if the action was performed
docstring_tokens: Remove user account .