logging repository classes that does not insert using super class
This commit is contained in:
parent
b94024b194
commit
4f81ecb469
|
@ -23,6 +23,7 @@ class Item_Metadata extends Repository {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Entities\Log::create($this->log_message, $this->log_description, $item_metadata);
|
||||||
// return a brand new object
|
// return a brand new object
|
||||||
return new Entities\Item_Metadata_Entity($item_metadata->get_item(), $item_metadata->get_metadata());
|
return new Entities\Item_Metadata_Entity($item_metadata->get_item(), $item_metadata->get_metadata());
|
||||||
|
|
||||||
|
|
|
@ -62,6 +62,8 @@ class Terms extends Repository {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Entities\Log::create($this->log_message, $this->log_description, $term);
|
||||||
|
|
||||||
return $term_inserted['term_id'];
|
return $term_inserted['term_id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue