[core] simplify cache related code and remove misleading comment
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
581bff166c
commit
0a86d572c2
1 changed files with 2 additions and 3 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue