forked from vufind-org/vufind
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename connection and ini file to 'external'
- Loading branch information
1 parent
74add46
commit 16df412
Showing
5 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
9 changes: 5 additions & 4 deletions
9
config/vufind/ConsortialVuFind.ini → config/vufind/ExternalVuFind.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* Consortial VuFind API connection class. | ||
* External VuFind API connection class. | ||
* | ||
* PHP version 8 | ||
* | ||
|
@@ -33,15 +33,15 @@ | |
use Laminas\Log\LoggerAwareInterface; | ||
|
||
/** | ||
* Consortial VuFind API connection class. | ||
* External VuFind API connection class. | ||
* | ||
* @category VuFind | ||
* @package Connection | ||
* @author Maccabee Levine <[email protected]> | ||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License | ||
* @link https://vufind.org | ||
*/ | ||
class ConsortialVuFind implements | ||
class ExternalVuFind implements | ||
\VuFindHttp\HttpServiceAwareInterface, | ||
LoggerAwareInterface | ||
{ | ||
|
@@ -104,7 +104,7 @@ public function search($queryString, $requestParam, $limit, $searchFilters = []) | |
|
||
if ($response->isServerError()) { | ||
$this->logError( | ||
'ConsortialVuFind API HTTP Error: ' . | ||
'ExternalVuFind API HTTP Error: ' . | ||
$response->getStatusCode() | ||
); | ||
return []; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters