Exemplo n.º 1
0
 public function delete()
 {
     $table = $this->get_other_table_name();
     db_begin();
     delete_records($table, 'artefact', $this->id);
     parent::delete();
     db_commit();
 }