original_string: public function actionDelete($templateId)
      {
          if($template = EmailTemplate::findOne($templateId)) {
              $template->delete();
          }
  
          return $this->redirect(Url::toRoute('list'));
      }
code: public function actionDelete($templateId)
      {
          if($template = EmailTemplate::findOne($templateId)) {
              $template->delete();
          }
  
          return $this->redirect(Url::toRoute('list'));
      }
code_tokens: public function actionDelete ( $ templateId ) { if ( $ template = EmailTemplate :: findOne ( $ templateId ) ) { $ template -> delete ( ) ; } return $ this -> redirect ( Url :: toRoute ( 'list' ) ) ; }
docstring: Removing of template
  
  @param integer $templateId
  @return Response
docstring_tokens: Removing of template