[core] simplify cache related code and remove misleading comment

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-23 14:41:41 +02:00
parent 581bff166c
commit 0a86d572c2

View file

@ -109,9 +109,8 @@ try{
// Data retrieval
$bridge = Bridge::create($bridge);
if(defined("DEBUG")) {
} else {
$bridge->setCache($cache); // just add disable cache to your query to disable caching
if(!defined("DEBUG")) {
$bridge->setCache($cache);
}
$noproxy=filter_input(INPUT_GET,'_noproxy');