Skip to content
Snippets Groups Projects
Commit 09ac038f authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #47780 refacto Service constructor

parent f889803d
Branches
Tags
3 merge requests!1864Master,!1859Dev#47780 digital ressources plugins,!1840Dev#47780 digital ressources plugins
......@@ -23,8 +23,8 @@
class Class_DigitalResource_Service extends Class_WebService_BibNumerique_Abstract {
protected $_config;
public function __construct($config) {
$this->_config = $config;
public function __construct() {
$this->_config = Class_DigitalResource_Config::getInstance();
}
protected function getDocType() {
......
......@@ -31,10 +31,6 @@ class Assimil_Service extends Class_DigitalResource_Service {
protected $_parser,
$_assimil_albums;
public function __construct() {
parent::__construct(Assimil_Config::getInstance());
}
protected function _deleteNonHarvested() {
$harvested_ids = $this->getHarvestedIds();
......
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