Skip to content
Snippets Groups Projects
Commit 93dacf04 authored by Demian Katz's avatar Demian Katz
Browse files

Eliminated unwanted PEAR references.

parent c38a72ed
No related merge requests found
...@@ -1026,7 +1026,8 @@ class MultiBackend extends AbstractBase ...@@ -1026,7 +1026,8 @@ class MultiBackend extends AbstractBase
* Place ILL Request * Place ILL Request
* *
* Attempts to place an ILL request on a particular item and returns * Attempts to place an ILL request on a particular item and returns
* an array with result details or a PEAR error on failure of support classes * an array with result details (or throws an exception on failure of support
* classes)
* *
* @param array $details An array of item and patron data * @param array $details An array of item and patron data
* *
......
...@@ -1039,7 +1039,7 @@ class VoyagerRestful extends Voyager implements \VuFindHttp\HttpServiceAwareInte ...@@ -1039,7 +1039,7 @@ class VoyagerRestful extends Voyager implements \VuFindHttp\HttpServiceAwareInte
$sqlStmt = $this->db->prepare($sql['string']); $sqlStmt = $this->db->prepare($sql['string']);
$sqlStmt->execute($sql['bind']); $sqlStmt->execute($sql['bind']);
} catch (PDOException $e) { } catch (PDOException $e) {
return new PEAR_Error($e->getMessage()); throw new ILSException($e->getMessage());
} }
$groups = []; $groups = [];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment