Changeset 1941

Show
Ignore:
Timestamp:
04/16/08 23:43:08 (5 months ago)
Author:
bchoate
Message:

Prevent updating existing pings. BugId:70216

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-35/lib/MT/App/Trackback.pm

    r1873 r1941  
    287287    foreach (@pings) { 
    288288        if ( $_->source_url eq $url ) { 
    289             return $app->_response() if $_->is_junk; 
    290             if ( $app->remote_ip eq $_->ip ) { 
    291                 $ping = $_; 
    292                 last; 
    293             } 
    294             else { 
    295  
    296                 # return success to quiet this pinger 
    297                 return $app->_response(); 
    298             } 
     289            return $app->_response(); 
    299290        } 
    300291    }