fixed IDE warnings

This commit is contained in:
Ralf Becker 2014-03-12 17:15:48 +00:00
parent 5f1dcfea57
commit 804df769d5

View File

@ -73,7 +73,7 @@ class hooks
*/
function hooks($db=null)
{
self::__construct();
self::__construct($db);
}
/**
@ -279,6 +279,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'])