original_string: public function setCreateAccountTemplate()
      {
          $templateId = $this->organization->getCreateAccountTemplate();
          if ($templateId) {
              $this->setTemplate($this->organization->getCreateAccountTemplate());
              return true;
          } elseif ($this->project->getEmailCreateAccount()) {
              $this->setTemplateByCode($this->project->getEmailCreateAccount());
              return true;
          } else {
              return false;
          }
      }
code: public function setCreateAccountTemplate()
      {
          $templateId = $this->organization->getCreateAccountTemplate();
          if ($templateId) {
              $this->setTemplate($this->organization->getCreateAccountTemplate());
              return true;
          } elseif ($this->project->getEmailCreateAccount()) {
              $this->setTemplateByCode($this->project->getEmailCreateAccount());
              return true;
          } else {
              return false;
          }
      }
code_tokens: public function setCreateAccountTemplate ( ) { $ templateId = $ this -> organization -> getCreateAccountTemplate ( ) ; if ( $ templateId ) { $ this -> setTemplate ( $ this -> organization -> getCreateAccountTemplate ( ) ) ; return true ; } elseif ( $ this -> project -> getEmailCreateAccount ( ) ) { $ this -> setTemplateByCode ( $ this -> project -> getEmailCreateAccount ( ) ) ; return true ; } else { return false ; } }
docstring: Set the create account Mail template from the organization or the project
  @return  boolean success
docstring_tokens: Set the create account Mail template from the organization or the project