cwconfig.py
changeset 7990 a673d1d9a738
parent 7879 9aae456abab5
child 8049 a48301a44b50
--- a/cwconfig.py	Fri Oct 21 14:32:18 2011 +0200
+++ b/cwconfig.py	Fri Oct 21 14:32:37 2011 +0200
@@ -612,7 +612,6 @@
                               ctlfile, err)
                 cls.info('loaded cubicweb-ctl plugin %s', ctlfile)
         for cube in cls.available_cubes():
-            oldpluginfile = join(cls.cube_dir(cube), 'ecplugin.py')
             pluginfile = join(cls.cube_dir(cube), 'ccplugin.py')
             initfile = join(cls.cube_dir(cube), '__init__.py')
             if exists(pluginfile):
@@ -621,14 +620,6 @@
                     cls.info('loaded cubicweb-ctl plugin from %s', cube)
                 except Exception:
                     cls.exception('while loading plugin %s', pluginfile)
-            elif exists(oldpluginfile):
-                warn('[3.6] %s: ecplugin module should be renamed to ccplugin' % cube,
-                     DeprecationWarning)
-                try:
-                    __import__('cubes.%s.ecplugin' % cube)
-                    cls.info('loaded cubicweb-ctl plugin from %s', cube)
-                except Exception:
-                    cls.exception('while loading plugin %s', oldpluginfile)
             elif exists(initfile):
                 try:
                     __import__('cubes.%s' % cube)
@@ -762,13 +753,6 @@
             if exists(sitefile) and not sitefile in self._site_loaded:
                 self._load_site_cubicweb(sitefile)
                 self._site_loaded.add(sitefile)
-            else:
-                sitefile = join(path, 'site_erudi.py')
-                if exists(sitefile) and not sitefile in self._site_loaded:
-                    self._load_site_cubicweb(sitefile)
-                    self._site_loaded.add(sitefile)
-                    self.warning('[3.5] site_erudi.py is deprecated, should be '
-                                 'renamed to site_cubicweb.py')
 
     def _load_site_cubicweb(self, sitefile):
         # XXX extrapath argument to load_module_from_file only in lgc > 0.50.2