original_string: public function setResetPasswordTemplate()
      {
  
          $templateId = $this->organization->getResetPasswordTemplate();
  
          if ($templateId) {
              $this->setTemplate($this->organization->getResetPasswordTemplate());
              return true;
          } elseif ($this->project->getEmailResetPassword()) {
              if ($this->setTemplateByCode($this->project->getEmailResetPassword())) {
                  return true;
              } else {
                  return false;
              }
          } else {
              return false;
          }
      }
code: public function setResetPasswordTemplate()
      {
  
          $templateId = $this->organization->getResetPasswordTemplate();
  
          if ($templateId) {
              $this->setTemplate($this->organization->getResetPasswordTemplate());
              return true;
          } elseif ($this->project->getEmailResetPassword()) {
              if ($this->setTemplateByCode($this->project->getEmailResetPassword())) {
                  return true;
              } else {
                  return false;
              }
          } else {
              return false;
          }
      }
code_tokens: public function setResetPasswordTemplate ( ) { $ templateId = $ this -> organization -> getResetPasswordTemplate ( ) ; if ( $ templateId ) { $ this -> setTemplate ( $ this -> organization -> getResetPasswordTemplate ( ) ) ; return true ; } elseif ( $ this -> project -> getEmailResetPassword ( ) ) { if ( $ this -> setTemplateByCode ( $ this -> project -> getEmailResetPassword ( ) ) ) { return true ; } else { return false ; } } else { return false ; } }
docstring: Set the reset password Mail template from the organization or the project
  @return  boolean success
docstring_tokens: Set the reset password Mail template from the organization or the project