Skip to content

Commit

Permalink
Merge branch '2.x-release/v2.2.5' into 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
themodernpk committed Jan 23, 2024
2 parents 509fa11 + ac18678 commit 522d406
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Config/vaahcms.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
$settings = [
'app_name' => 'VaahCMS',
'app_slug' => 'vaahcms',
'version' => '2.2.4',
'version' => '2.2.5',
'php_version_required' => '8.1',
'get_config_version' => false,
'website' => 'https://vaah.dev/cms',
Expand Down
7 changes: 6 additions & 1 deletion Observers/CrudWithUuidObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,18 @@ public function deleting( $model ) {
//-----------------------------------------------------------
public function deleted( $model )
{

if($model->isForceDeleting()){
return false;
}

$model->deleted_by = $this->user_id;
$model->save();
}

//-----------------------------------------------------------
public function restoring( $model ) {

}

//-----------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webreinvent/vaahcms",
"version": "2.2.4",
"version": "2.2.5",
"description": "VaahCMS is a laravel based open-source web application development platform shipped with headless content management system.",
"keywords": ["vaahcms", "headless", "hmvc", "laravel", "cms", "vue", "pinia"],
"homepage": "https://webreinvent.com",
Expand Down

0 comments on commit 522d406

Please sign in to comment.