public function removeDeniedMimeType($type)
    {
        $key = array_search($type, $this->deniedMimeTypes);
        if ($key !== false) {
            unset($this->deniedMimeTypes[$key]);
            return true;
        }

        return false;
    }
public function removeDeniedMimeType($type)
    {
        $key = array_search($type, $this->deniedMimeTypes);
        if ($key !== false) {
            unset($this->deniedMimeTypes[$key]);
            return true;
        }

        return false;
    }
public function removeDeniedMimeType ( $ type ) { $ key = array_search ( $ type , $ this -> deniedMimeTypes ) ; if ( $ key !== false ) { unset ( $ this -> deniedMimeTypes [ $ key ] ) ; return true ; } return false ; }
Remove an denied mime type from the list.

@param string $type
@return boolean true if found and removed, false otherwise
Remove an denied mime type from the list .