remove file send via file API
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 12 Dec 2011 17:44:32 +0000 (18:44 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 12 Dec 2011 17:44:32 +0000 (18:44 +0100)
lib/CloudStore/Store.pm

index 636b9bc..6e7559b 100644 (file)
@@ -148,6 +148,7 @@ sub new_file {
 #      $self->file_set($data);
 }
 
+# client doesn't issue --delete
 sub removed_file {
        my ( $self, $data ) = @_;
 
@@ -180,6 +181,8 @@ sub new_link {
 
        warn "# new_link ",dump $data;
 
+=for removed
+
        if ( $data->{file} =~ m{^(.*/?)\.send/([^/]+)/(.+)$} ) {
                my ( $dir, $to, $name ) = ( $1, $2, $3 );
                my $path = $self->blob_path($data);
@@ -228,6 +231,9 @@ sub new_link {
                        warn "ERROR: can't SEND To:$to Name:$name Link:$link_to";
                }
        }
+
+=cut
+
 }
 
 sub init_pid_login {