diff --git a/admin/inc/class.admin_hooks.inc.php b/admin/inc/class.admin_hooks.inc.php index fd290c1cea..d3deb3ceb5 100644 --- a/admin/inc/class.admin_hooks.inc.php +++ b/admin/inc/class.admin_hooks.inc.php @@ -103,12 +103,6 @@ class admin_hooks $file['View Access Log'] = Egw::link('/index.php','menuaction=admin.admin_accesslog.index&ajax=true'); } - /* disable old EGroupware error_log, as it is not used anymore - if (! $GLOBALS['egw']->acl->check('error_log_access',1,'admin')) - { - $file['View Error Log'] = Egw::link('/index.php','menuaction=admin.uilog.list_log'); - }*/ - if (! $GLOBALS['egw']->acl->check('applications_acc',16,'admin')) { $file['Clear cache and register hooks'] = array( @@ -141,7 +135,8 @@ class admin_hooks $file['Custom translation'] = Egw::link('/index.php','menuaction=admin.admin_customtranslation.index'); $file['Changelog and versions'] = Egw::link('/index.php','menuaction=api.EGroupware\\Api\\Framework\\About.index&ajax=true'); - $file['Submit statistic information'] = Egw::link('/index.php','menuaction=admin.admin_statistics.submit'); + // disable usage statistic for now, as no more backend + //$file['Submit statistic information'] = Egw::link('/index.php','menuaction=admin.admin_statistics.submit'); if ($location == 'admin') { @@ -290,4 +285,4 @@ class admin_hooks } return $ret; } -} +} \ No newline at end of file diff --git a/admin/inc/class.admin_statistics.inc.php b/admin/inc/class.admin_statistics.inc.php index d7a54abc7a..368d1ef86e 100644 --- a/admin/inc/class.admin_statistics.inc.php +++ b/admin/inc/class.admin_statistics.inc.php @@ -15,6 +15,8 @@ use EGroupware\Api\Etemplate; /** * Submit statistical data to egroupware.org + * + * Usage statistic is disabled, as there is no more backend currently. */ class admin_statistics { @@ -311,4 +313,4 @@ class admin_statistics 'load' => 'admin.admin_statistics.submit', )); } -} +} \ No newline at end of file diff --git a/admin/inc/class.admin_ui.inc.php b/admin/inc/class.admin_ui.inc.php index 3af494e1b0..fccf53dcd0 100644 --- a/admin/inc/class.admin_ui.inc.php +++ b/admin/inc/class.admin_ui.inc.php @@ -43,12 +43,13 @@ class admin_ui */ public function index(array $content=null) { + /* disable usage statistic for now, as no more backend if (admin_statistics::check(false)) { $_GET['load'] = 'admin.admin_statistics.submit'; $_GET['ajax'] = 'false'; $_GET['required'] = 'true'; - } + }*/ $tpl = new Etemplate('admin.index'); if (!is_array($content)) $content = array();