Hook files inclusion moved to session.inc
[fa-stable.git] / includes / hooks.inc
index d89c1d3e677c3e30fe7b8f5ad8beffa497ef81a8..669a5ce8e2bec0d737ba354d075b32f411bbd50e 100644 (file)
@@ -164,14 +164,6 @@ class hooks {
                return true;
        }
 }
-//
-// include all extensions hook files.
-//
-foreach ($installed_extensions as $ext)
-{
-       if (file_exists($path_to_root.'/'.$ext['path'].'/hooks.php'))
-               include_once($path_to_root.'/'.$ext['path'].'/hooks.php');
-}
 
 /*
        Installs hooks provided by extension modules