original_string: public function reset($id) {
          $template = $this->load(array('name'=>$id));
  
          $result = false;
          if (count($template) == 1) {
              if (unlink($this->_path . '/template-local.ini')) {
                  // Now force recompile
                  $this->_templates = false;
                  $this->_template = '';
  
                  $template = $this->load(array('name'=>$id));
                  $this->saveTemplate($id, $template[$id]);
                  $result = true;
              }
          }
  
          return $result;
      }
code: public function reset($id) {
          $template = $this->load(array('name'=>$id));
  
          $result = false;
          if (count($template) == 1) {
              if (unlink($this->_path . '/template-local.ini')) {
                  // Now force recompile
                  $this->_templates = false;
                  $this->_template = '';
  
                  $template = $this->load(array('name'=>$id));
                  $this->saveTemplate($id, $template[$id]);
                  $result = true;
              }
          }
  
          return $result;
      }
code_tokens: public function reset ( $ id ) { $ template = $ this -> load ( array ( 'name' => $ id ) ) ; $ result = false ; if ( count ( $ template ) == 1 ) { if ( unlink ( $ this -> _path . '/template-local.ini' ) ) { // Now force recompile
   $ this -> _templates = false ; $ this -> _template = '' ; $ template = $ this -> load ( array ( 'name' => $ id ) ) ; $ this -> saveTemplate ( $ id , $ template [ $ id ] ) ; $ result = true ; } } return $ result ; }
docstring: Reset a template to it's default values by deleteing template-local.ini
  
  @param string $id
  @return boolean true on success
docstring_tokens: Reset a template to it s default values by deleteing template - local . ini