Ignore:
Timestamp:
Mar 4, 2013, 4:18:21 AM (9 years ago)
Author:
livings124
Message:

combine the two rpc delete data methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r14041 r14042  
    47724772                   
    47734773                case TR_RPC_TORRENT_REMOVING:
    4774                     [self rpcRemoveTorrent: torrent];
     4774                    [self rpcRemoveTorrent: torrent deleteData: NO];
    47754775                    break;
    47764776                   
    47774777                case TR_RPC_TORRENT_TRASHING:
    4778                     [self rpcRemoveTorrentDeleteData: torrent];
     4778                    [self rpcRemoveTorrent: torrent deleteData: YES];
    47794779                    break;
    47804780                   
     
    48334833}
    48344834
    4835 - (void) rpcRemoveTorrent: (Torrent *) torrent
    4836 {
    4837     [self confirmRemoveTorrents: @[ torrent ] deleteData: NO];
    4838 }
    4839 
    4840 - (void) rpcRemoveTorrentDeleteData: (Torrent *) torrent
    4841 {
    4842     [self confirmRemoveTorrents: @[ torrent ] deleteData: YES];
     4835- (void) rpcRemoveTorrent: (Torrent *) torrent deleteData: (BOOL) deleteData
     4836{
     4837    [self confirmRemoveTorrents: @[ torrent ] deleteData: deleteData];
    48434838}
    48444839
Note: See TracChangeset for help on using the changeset viewer.