mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
do not log succesful clearing of instance cache
This commit is contained in:
parent
be4dbc37ae
commit
810a90af56
@ -185,10 +185,10 @@ function run_command(admin_cmd $cmd)
|
|||||||
$url = $GLOBALS['egw_info']['server']['webserver_url'].'/json.php?menuaction=admin.admin_hooks.ajax_clear_cache';
|
$url = $GLOBALS['egw_info']['server']['webserver_url'].'/json.php?menuaction=admin.admin_hooks.ajax_clear_cache';
|
||||||
if ($url[0] == '/') $url = 'http://'.(!empty($domain) && $domain != 'default' ? $domain : 'localhost').$url;
|
if ($url[0] == '/') $url = 'http://'.(!empty($domain) && $domain != 'default' ? $domain : 'localhost').$url;
|
||||||
$data = file_get_contents($url, false, Framework::proxy_context($user,$arg0s[1]));
|
$data = file_get_contents($url, false, Framework::proxy_context($user,$arg0s[1]));
|
||||||
error_log("file_get_contents('$url') returned ".array2string($data));
|
//error_log("file_get_contents('$url') returned ".array2string($data));
|
||||||
if ($data && strpos($data, '"success"') !== false)
|
if ($data && strpos($data, '"success"') !== false)
|
||||||
{
|
{
|
||||||
error_log('Instance cache cleared.');
|
//error_log('Instance cache cleared.');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user