@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | { |
14 | 14 | |
15 | 15 | // create a event to happen on deleting |
16 | - static::deleting(function($table) { |
|
16 | + static::deleting(function($table) { |
|
17 | 17 | if (class_exists('Cartalyst\Sentinel\Laravel\Facades\Sentinel')) |
18 | 18 | $table->deleted_by = Sentinel::getUser()->id; |
19 | 19 | else |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | }); |
22 | 22 | |
23 | 23 | // create a event to happen on saving |
24 | - static::saving(function($table) { |
|
24 | + static::saving(function($table) { |
|
25 | 25 | |
26 | 26 | if (class_exists('Cartalyst\Sentinel\Laravel\Facades\Sentinel')) |
27 | 27 | { |