* Admin/Setup: fixing high memory usage in registering all hooks

This commit is contained in:
Ralf Becker 2012-07-18 10:34:31 +00:00
parent 5aa9b3cfc7
commit 44dd8e92e9

View File

@ -320,6 +320,7 @@ class hooks
$setup_info = array($appname => array());
if(@file_exists($f)) include($f);
// some apps have setup_info for more then themselfs (eg. phpgwapi for groupdav)
$hdata = array();
foreach($setup_info as $appname => $data)
{
if ($data['hooks'])