diff --git a/filemanager/inc/class.filemanager_hooks.inc.php b/filemanager/inc/class.filemanager_hooks.inc.php index c78ce84801..aa0ac0e21d 100644 --- a/filemanager/inc/class.filemanager_hooks.inc.php +++ b/filemanager/inc/class.filemanager_hooks.inc.php @@ -113,20 +113,12 @@ class filemanager_hooks { if (is_array($location)) $location = $location['location']; - $file = Array( - 'Site Configuration' => egw::link('/index.php','menuaction=admin.uiconfig.index&appname='.self::$appname), - 'Custom fields' => egw::link('/index.php','menuaction=admin.customfields.edit&appname='.self::$appname), + $file = Array( + 'Site Configuration' => egw::link('/index.php','menuaction=admin.uiconfig.index&appname='.self::$appname), + 'Custom fields' => egw::link('/index.php','menuaction=admin.customfields.edit&appname='.self::$appname), 'Check virtual filesystem' => egw::link('/index.php','menuaction=filemanager.filemanager_hooks.fsck'), 'VFS mounts and versioning' => egw::link('/index.php', 'menuaction=filemanager.filemanager_admin.index'), - ); - // add other administration links, eg. of filesystem backends like versioning - if (($other = $GLOBALS['egw']->hooks->process('filemanager_admin',array(),true))) - { - foreach($other as $file_data) - { - $file += $file_data; - } - } + ); if ($location == 'admin') { display_section(self::$appname,$file);