Changeset 804 for branches

Show
Ignore:
Timestamp:
04/12/07 18:17:33 (2 years ago)
Author:
hachi
Message:

Remove some code, and comment on it. Fixing later.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/filepaths-20070306/server/lib/MogileFS/Plugin/FilePaths.pm

    r803 r804  
    191191            unless defined $nodeid; 
    192192 
    193         if (get_file_mapping($nodeid)) { 
    194             return $self->err_line('not_a_directory', 'Path provided is not a directory'); 
    195         } 
     193#       TODO This is wrong, but we should throw an error saying 'not a directory'. Requires refactoring 
     194#            a bit of code to make the 'fid' value available from the last node we fetched. 
     195#        if (get_file_mapping($nodeid)) { 
     196#            return $self->err_line('not_a_directory', 'Path provided is not a directory'); 
     197#        } 
    196198 
    197199        # get files in path, return as an array