original_string: public function removeDeniedExtension($extension)
      {
  
          $key = array_search($extension, $this->deniedExtensions);
          if ($key !== false) {
              unset($this->deniedExtensions[$key]);
              return true;
          }
  
          return false;
      }
code: public function removeDeniedExtension($extension)
      {
  
          $key = array_search($extension, $this->deniedExtensions);
          if ($key !== false) {
              unset($this->deniedExtensions[$key]);
              return true;
          }
  
          return false;
      }
code_tokens: public function removeDeniedExtension ( $ extension ) { $ key = array_search ( $ extension , $ this -> deniedExtensions ) ; if ( $ key !== false ) { unset ( $ this -> deniedExtensions [ $ key ] ) ; return true ; } return false ; }
docstring: Remove an denied extension from the list.
  
  @param string $extension
  @return boolean true if found and removed, false otherwise
docstring_tokens: Remove an denied extension from the list .