[TheFreeNetwork] Small rewrite to the onStartTFNLookup event
This commit is contained in:
parent
2a863ba746
commit
bda5a7db97
@ -79,11 +79,13 @@ class TheFreeNetworkModule extends Module
|
|||||||
{
|
{
|
||||||
$profile_id = $this->lookup($uri, $class);
|
$profile_id = $this->lookup($uri, $class);
|
||||||
|
|
||||||
$perf = common_config('performance', 'high');
|
if (is_null($profile_id)) {
|
||||||
|
$perf = common_config('performance', 'high');
|
||||||
|
|
||||||
if (is_null($profile_id) && !$perf && $this->lrdd) {
|
if (!$perf && $this->lrdd) {
|
||||||
// Force lookup with online resources
|
// Force lookup with online resources
|
||||||
$profile_id = $this->lookup($uri, $class, true);
|
$profile_id = $this->lookup($uri, $class, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user