original_string: function clearDir()
      {
          $dir = _WWW.$this->patch.$this->id.'/';
          foreach (scandir($dir) as $file) {
              if ($file == '.' || $file == '..') {
                  continue;
              }
              unlink($dir.$file);
          }
      }
code: function clearDir()
      {
          $dir = _WWW.$this->patch.$this->id.'/';
          foreach (scandir($dir) as $file) {
              if ($file == '.' || $file == '..') {
                  continue;
              }
              unlink($dir.$file);
          }
      }
code_tokens: function clearDir ( ) { $ dir = _WWW . $ this -> patch . $ this -> id . '/' ; foreach ( scandir ( $ dir ) as $ file ) { if ( $ file == '.' || $ file == '..' ) { continue ; } unlink ( $ dir . $ file ) ; } }
docstring: Delete all files in article directory
  @return void Clear directory
docstring_tokens: Delete all files in article directory