Skip to content
Snippets Groups Projects
Commit 0119345c authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

dev #17352 : cannot track oai raw records

parent fcac722b
Branches
Tags
3 merge requests!2660Master,!2594Master,!2549Dev#17352 cosmogramme garder l unimarc natif d une notice
Pipeline #3690 passed with stage
in 31 minutes and 40 seconds
......@@ -75,12 +75,20 @@ class Class_Cosmogramme_Integration_RawRecord {
public function save() {
if (!$this->_isValid())
return;
$this->newVersionWith(['id' => $this->_id,
'library_id' => $this->_library_id,
'data' => $this->_data]);
}
protected function _isValid() {
return is_string($this->_data);
}
public function loadLastVersion() {
if (!$version = $this->getLastVersion())
return;
......
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