original_string: public function deleteFolder() {
          $folder=SnippetFolder::get()->byID(intval(str_replace('folder-', '', $this->request->getVar('ID'))));
          if(empty($folder) || $folder===false || $folder->ID==0) {
              $this->response->setStatusCode(404, _t('CodeBank.FOLDER_NOT_FOUND', '_Folder could not be found'));
              return;
          }
          
          
          $folder->delete();
          
          return 'HELO';
      }
code: public function deleteFolder() {
          $folder=SnippetFolder::get()->byID(intval(str_replace('folder-', '', $this->request->getVar('ID'))));
          if(empty($folder) || $folder===false || $folder->ID==0) {
              $this->response->setStatusCode(404, _t('CodeBank.FOLDER_NOT_FOUND', '_Folder could not be found'));
              return;
          }
          
          
          $folder->delete();
          
          return 'HELO';
      }
code_tokens: public function deleteFolder ( ) { $ folder = SnippetFolder :: get ( ) -> byID ( intval ( str_replace ( 'folder-' , '' , $ this -> request -> getVar ( 'ID' ) ) ) ) ; if ( empty ( $ folder ) || $ folder === false || $ folder -> ID == 0 ) { $ this -> response -> setStatusCode ( 404 , _t ( 'CodeBank.FOLDER_NOT_FOUND' , '_Folder could not be found' ) ) ; return ; } $ folder -> delete ( ) ; return 'HELO' ; }
docstring: Deletes a folder node
docstring_tokens: Deletes a folder node