Skip to content

Commit

Permalink
Merge pull request #14 from mdzahid-pro/patch-1
Browse files Browse the repository at this point in the history
Update XgApiClient.php
  • Loading branch information
Sharifur authored Mar 12, 2024
2 parents 5dc49fd + c5451d3 commit ef8df0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/XgApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ public function systemDbUpgrade($isTenant,$version){

}
try{
Artisan::call('cache:clear');
Artisan::call('optimize:clear');
}catch(\Exception $e){}

setEnvValue(['APP_ENV' => 'production']);
Expand Down Expand Up @@ -429,7 +429,7 @@ public function systemDbUpgrade($isTenant,$version){
}

try{
Artisan::call('cache:clear');
Artisan::call('optimize:clear');
}catch(\Exception $e){}

//todo run a query to get all the tenant then run migrate one by one...
Expand Down Expand Up @@ -632,4 +632,4 @@ public function getFilePath($file,$getFileRepalcePath){
return str_replace('/'.$file->getFilename(),'',$dir);
}

}
}

0 comments on commit ef8df0f

Please sign in to comment.