mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
disable usage statistic for now, as there is no more backend
This commit is contained in:
parent
a8dd625a61
commit
40dffb2f91
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
@ -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',
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user