cubicweb/server/sources/__init__.py
branch3.25
changeset 12148 79160d54662e
parent 12144 f54286c1cef5
child 12149 649100470733
--- a/cubicweb/server/sources/__init__.py	Wed Apr 12 14:54:10 2017 +0200
+++ b/cubicweb/server/sources/__init__.py	Wed Apr 12 15:49:05 2017 +0200
@@ -186,12 +186,10 @@
         """method called by the repository once ready to create a new instance"""
         pass
 
-    def init(self, activated, source_entity):
+    def init(self, source_entity):
         """method called by the repository once ready to handle request.
         `activated` is a boolean flag telling if the source is activated or not.
         """
-        if not activated:
-            return
         source_entity.complete()
         if source_entity.url:
             self.urls = [url.strip() for url in source_entity.url.splitlines()