remove no longer needed "filemanager_admin" hook

This commit is contained in:
Ralf Becker 2014-06-12 15:39:17 +00:00
parent cf583cf141
commit bfc0e56006

View File

@ -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);