aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-06-03 15:46:05 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-06-03 15:46:05 +0200
commitf1ce42fb6563897559500947cd1f9952df8e786d (patch)
tree840c2bac4a9b70fb6d31a471d1968eab827d3ca8
parentRemove references to useragent setting. (diff)
downloadrbot-bugzilla-f1ce42fb6563897559500947cd1f9952df8e786d.tar.gz
rbot-bugzilla-f1ce42fb6563897559500947cd1f9952df8e786d.tar.bz2
rbot-bugzilla-f1ce42fb6563897559500947cd1f9952df8e786d.zip
Remove delete_client calls as the client is no more istantiated inside the plugin.
-rw-r--r--bugzilla.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/bugzilla.rb b/bugzilla.rb
index 79bb137..9fe9e6b 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -381,10 +381,6 @@ class BugzillaPlugin < Plugin
# This function is used to remove timers and close HTTPClient
# instances, otherwise they'll be kept open with no good reason.
def cleanup
- @zillas.each do |zilla|
- zilla.delete_client
- end
-
@bot.timer.remove(@polling_timer)
super