summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/AntiVirus.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/AntiVirus.py')
-rw-r--r--module/plugins/hooks/AntiVirus.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/module/plugins/hooks/AntiVirus.py b/module/plugins/hooks/AntiVirus.py
index cb9d5aaa6..8b19af84c 100644
--- a/module/plugins/hooks/AntiVirus.py
+++ b/module/plugins/hooks/AntiVirus.py
@@ -9,11 +9,11 @@ try:
except ImportError:
pass
-from module.plugins.internal.Hook import Hook, Expose, threaded
+from module.plugins.internal.Addon import Addon, Expose, threaded
from module.utils import fs_encode, save_join as fs_join
-class AntiVirus(Hook):
+class AntiVirus(Addon):
__name__ = "AntiVirus"
__type__ = "hook"
__version__ = "0.11"
@@ -32,13 +32,6 @@ class AntiVirus(Hook):
__authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
- interval = 0 #@TODO: Remove in 0.4.10
-
-
- def setup(self):
- self.info = {} #@TODO: Remove in 0.4.10
-
-
@Expose
@threaded
def scan(self, pyfile, thread):