Applied fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
09bf25b5e2
commit
e2390f67d4
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class Version1079table extends Migration
|
||||
@@ -16,15 +15,13 @@ class Version1079table extends Migration
|
||||
$current_version2 = explode(' ', $current_version1);
|
||||
$current_version = $current_version2[1];
|
||||
$settings_system = DB::table('settings_system')->where('id', '=', '1')->first();
|
||||
if($settings_system != null) {
|
||||
if ($settings_system != null) {
|
||||
DB::table('settings_system')->insert(['version' => $current_version]);
|
||||
DB::table('common_settings')
|
||||
->insert(
|
||||
['option_name' => 'enable_rtl', 'option_value' => ''],
|
||||
['option_name' => 'user_set_ticket_status', 'status' => 1]
|
||||
);
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -26,6 +26,7 @@ use App\Model\helpdesk\Utility\CountryCode;
|
||||
use App\Model\helpdesk\Utility\Date_format;
|
||||
use App\Model\helpdesk\Utility\Date_time_format;
|
||||
use App\Model\helpdesk\Utility\Languages;
|
||||
use App\Model\helpdesk\Utility\Limit_Login;
|
||||
use App\Model\helpdesk\Utility\Log_notification;
|
||||
use App\Model\helpdesk\Utility\MailboxProtocol;
|
||||
use App\Model\helpdesk\Utility\Time_format;
|
||||
@@ -33,7 +34,6 @@ use App\Model\helpdesk\Utility\Timezones;
|
||||
use App\Model\helpdesk\Utility\Version_Check;
|
||||
use App\Model\helpdesk\Workflow\WorkflowClose;
|
||||
use App\Model\kb\Settings;
|
||||
use App\Model\helpdesk\Utility\Limit_Login;
|
||||
use App\Model\Update\BarNotification;
|
||||
// Knowledge base
|
||||
use Illuminate\Database\Seeder;
|
||||
@@ -1977,7 +1977,7 @@ class DatabaseSeeder extends Seeder
|
||||
|
||||
|
||||
Security::create(['id' => '1', 'lockout_message' => 'You have been locked out of application due to too many failed login attempts.', 'backlist_offender' => '0', 'backlist_threshold' => '15', 'lockout_period' => '15', 'days_to_keep_logs' => '0']);
|
||||
Limit_Login::create(['id'=>'1']);
|
||||
Limit_Login::create(['id' => '1']);
|
||||
|
||||
TemplateSet::create(['id' => '1', 'name' => 'default', 'active' => '1']);
|
||||
|
||||
|
Reference in New Issue
Block a user