Changeset 35
- Timestamp:
- 02/18/05 11:07:08
- Files:
-
- trunk/plugins/dnsbl/mt-dnsbl.cgi (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plugins/dnsbl/mt-dnsbl.cgi
r34 r35 141 141 my @bans = MT::IPBanList->load({ip => $ip, blog_id => $blog_id}); 142 142 $_->remove foreach @bans; 143 $app->{query}->param('blog_id', 0); # make sure we don't revert to a blog context view 143 144 $app->view_cache(message => "Unbanned IP $ip successfully."); 144 145 } … … 156 157 $ban->ip($ip); 157 158 $ban->save; 159 $app->{query}->param('blog_id', 0); # make sure we don't revert to a blog context view 158 160 $app->view_cache(message => "Banned IP $ip successfully."); 159 161 }
