Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"
This commit is contained in:
committed by
Hypolite Petovan
parent
7029012f27
commit
657d08f09f
@@ -51,7 +51,7 @@ class SearchDirectory
|
||||
}
|
||||
}
|
||||
|
||||
$x = DI::httpRequest()->fetchUrl(Search::getGlobalDirectory() . '/lsearch?p=1&n=500&search=' . urlencode($search));
|
||||
$x = DI::httpRequest()->fetch(Search::getGlobalDirectory() . '/lsearch?p=1&n=500&search=' . urlencode($search));
|
||||
$j = json_decode($x);
|
||||
|
||||
if (!empty($j->results)) {
|
||||
|
||||
Reference in New Issue
Block a user