Minor fixes
This commit is contained in:
parent
4b7d143630
commit
8f80ccf4d7
2 changed files with 4 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ class AppController extends BaseController
|
|||
|
||||
public function update()
|
||||
{
|
||||
if (!Utils::isNinja() && Auth::check()) {
|
||||
if (!Utils::isNinja()) {
|
||||
try {
|
||||
Artisan::call('migrate', array('--force' => true));
|
||||
Artisan::call('db:seed', array('--force' => true, '--class' => 'PaymentLibrariesSeeder'));
|
||||
|
|
|
|||
|
|
@ -316,6 +316,9 @@ class AccountRepository
|
|||
}
|
||||
|
||||
public function syncUserAccounts($users, $proPlanPaid = false) {
|
||||
if (!$users) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$proPlanPaid) {
|
||||
foreach ($users as $user) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue