Skip to content

Commit

Permalink
remove OwenIT
Browse files Browse the repository at this point in the history
  • Loading branch information
ftrotter committed Feb 2, 2023
1 parent 3c261be commit cc6403c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/DURCModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use Illuminate\Database\Eloquent\Model;
use Illuminate\Validation\Validator;
use CareSet\DURC\DURC;
use OwenIt\Auditing\Contracts\Auditable;

//use Owen It\Auditing\Contracts\Auditable;
// Owen It is abandoned for php 8
/*
This is where we put all of the functions that we want all DURC models to inherit
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Generators/LaravelEloquentGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ public function $other_table_name(){
}
//STARTING DURC Parent CLASS

if($is_audited){
$audit_use_statement = ' use \OwenIt\Auditing\Auditable; // configured using is_auditable = 1 in config json';
if(false){ //Owen It is abandonded for php 8
$audit_use_statement = ' use \Owen It\Auditing\Auditable; // configured using is_auditable = 1 in config json';
$audit_implements = ' implements Auditable ';
}else{
$audit_use_statement = ' //not auditable, configured using is_auditable = 0 in config json';
Expand All @@ -354,7 +354,7 @@ public function $other_table_name(){
$soft_delete_code_use_statememt
use CareSet\DURC\DURCModel;
use CareSet\DURC\DURC;
use OwenIt\Auditing\Contracts\Auditable;
//use Owen It\Auditing\Contracts\Auditable;
/*
Note this class was auto-generated from
Expand Down

0 comments on commit cc6403c

Please sign in to comment.