@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | { |
45 | 45 | if ($this->app['config']->get('app.debug') === true) { |
46 | 46 | |
47 | - \DB::listen(function ($query, $bindings, $time) { |
|
47 | + \DB::listen(function($query, $bindings, $time) { |
|
48 | 48 | $logFile = storage_path('logs/query.log'); |
49 | 49 | $monoLog = new Logger('log'); |
50 | 50 | $monoLog->pushHandler(new StreamHandler($logFile, Logger::INFO)); |
@@ -65,11 +65,11 @@ discard block |
||
65 | 65 | { |
66 | 66 | DynamicModel::clearBootedModels(); |
67 | 67 | |
68 | - $this->app->singleton('xe.db.proxy', function ($app) { |
|
68 | + $this->app->singleton('xe.db.proxy', function($app) { |
|
69 | 69 | return ProxyManager::instance($app['xe.register']); |
70 | 70 | }); |
71 | 71 | |
72 | - $this->app->singleton('xe.db', function ($app) { |
|
72 | + $this->app->singleton('xe.db', function($app) { |
|
73 | 73 | |
74 | 74 | $coupler = DatabaseCoupler::instance( |
75 | 75 | $app['db'], |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | public function register() |
67 | 67 | { |
68 | - $this->app->singleton([PermissionHandler::class => 'xe.permission'], function ($app) { |
|
68 | + $this->app->singleton([PermissionHandler::class => 'xe.permission'], function($app) { |
|
69 | 69 | return new PermissionHandler(new PermissionRepository($app['xe.db']->connection())); |
70 | 70 | }); |
71 | 71 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | { |
38 | 38 | $this->app->singleton( |
39 | 39 | 'xe.widget', |
40 | - function ($app) { |
|
40 | + function($app) { |
|
41 | 41 | |
42 | 42 | $proxyClass = $app['xe.interception']->proxy(WidgetHandler::class, 'XeWidget'); |
43 | 43 | $widgetHandler = new $proxyClass( |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | |
54 | 54 | $this->app->singleton( |
55 | 55 | 'xe.widget.parser', |
56 | - function ($app) { |
|
56 | + function($app) { |
|
57 | 57 | $handler = $app['xe.widget']; |
58 | 58 | return new WidgetParser($handler); |
59 | 59 | } |
@@ -244,11 +244,11 @@ |
||
244 | 244 | |
245 | 245 | // create |
246 | 246 | Route::get('create', |
247 | - [ |
|
248 | - 'as' => 'settings.member.create', |
|
249 | - 'uses' => 'Member\Settings\UserController@create', |
|
250 | - 'settings_menu' => 'member.create' |
|
251 | - ] |
|
247 | + [ |
|
248 | + 'as' => 'settings.member.create', |
|
249 | + 'uses' => 'Member\Settings\UserController@create', |
|
250 | + 'settings_menu' => 'member.create' |
|
251 | + ] |
|
252 | 252 | ); |
253 | 253 | Route::post( |
254 | 254 | 'store', |
@@ -15,12 +15,12 @@ discard block |
||
15 | 15 | |
16 | 16 | Route::settings( |
17 | 17 | '/', |
18 | - function () { |
|
18 | + function() { |
|
19 | 19 | Route::get( |
20 | 20 | '/', |
21 | 21 | [ |
22 | 22 | 'as' => 'settings', |
23 | - 'uses' => function () { |
|
23 | + 'uses' => function() { |
|
24 | 24 | return redirect()->route('settings.dashboard'); |
25 | 25 | } |
26 | 26 | ] |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | ); |
30 | 30 | Route::settings( |
31 | 31 | 'dashboard', |
32 | - function () { |
|
32 | + function() { |
|
33 | 33 | Route::get( |
34 | 34 | '/', |
35 | 35 | ['as' => 'settings.dashboard', 'uses' => 'DashboardController@index', 'settings_menu' => ['dashboard']] |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | |
41 | 41 | Route::settings( |
42 | 42 | 'lang', |
43 | - function () { |
|
43 | + function() { |
|
44 | 44 | Route::get('lines/{key}', ['as' => 'manage.lang.lines.key', 'uses' => 'LangController@getLinesWithKey']); |
45 | 45 | Route::get('search/{locale}', ['as' => 'manage.lang.search', 'uses' => 'LangController@searchKeyword']); |
46 | 46 | Route::put('save', ['as' => 'manage.lang.save', 'uses' => 'LangController@save']); |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * */ |
63 | 63 | Route::group( |
64 | 64 | ['prefix' => 'auth'], |
65 | - function () { |
|
65 | + function() { |
|
66 | 66 | // login |
67 | 67 | Route::get('login', ['as' => 'login', 'uses' => 'Auth\AuthController@getLogin']); |
68 | 68 | Route::post('login', ['as' => 'login', 'uses' => 'Auth\AuthController@postLogin']); |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * */ |
93 | 93 | Route::group( |
94 | 94 | ['prefix' => '@{member}'], |
95 | - function () { |
|
95 | + function() { |
|
96 | 96 | // profile |
97 | 97 | Route::get('/', ['as' => 'member.profile', 'uses' => 'Member\ProfileController@index']); |
98 | 98 | Route::post('/', ['as' => 'member.profile.update', 'uses' => 'Member\ProfileController@update']); |
@@ -104,17 +104,17 @@ discard block |
||
104 | 104 | * */ |
105 | 105 | Route::group( |
106 | 106 | ['prefix' => 'user'], |
107 | - function () { |
|
107 | + function() { |
|
108 | 108 | |
109 | 109 | Route::get('/{section?}', ['as' => 'member.settings', 'uses' => 'Member\UserController@show']); |
110 | 110 | |
111 | 111 | // settings secton |
112 | 112 | Route::group( |
113 | 113 | ['prefix' => 'settings'], |
114 | - function () { |
|
114 | + function() { |
|
115 | 115 | Route::group( |
116 | 116 | ['prefix' => 'name'], |
117 | - function () { |
|
117 | + function() { |
|
118 | 118 | Route::post( |
119 | 119 | '/', |
120 | 120 | [ |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | |
137 | 137 | Route::group( |
138 | 138 | ['prefix' => 'password'], |
139 | - function () { |
|
139 | + function() { |
|
140 | 140 | Route::post( |
141 | 141 | '/', |
142 | 142 | [ |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | // mail action at edit |
159 | 159 | Route::group( |
160 | 160 | ['prefix' => 'mail'], |
161 | - function () { |
|
161 | + function() { |
|
162 | 162 | Route::get( |
163 | 163 | 'list', |
164 | 164 | ['as' => 'member.settings.mail.list', 'uses' => 'Member\UserController@getMailList'] |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | |
185 | 185 | Route::group( |
186 | 186 | ['prefix' => 'pending_mail'], |
187 | - function () { |
|
187 | + function() { |
|
188 | 188 | Route::post( |
189 | 189 | 'delete', |
190 | 190 | [ |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | |
205 | 205 | Route::group( |
206 | 206 | ['prefix' => 'leave'], |
207 | - function () { |
|
207 | + function() { |
|
208 | 208 | Route::post( |
209 | 209 | '/', |
210 | 210 | [ |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | * */ |
226 | 226 | Route::settings( |
227 | 227 | 'user', |
228 | - function () { |
|
228 | + function() { |
|
229 | 229 | |
230 | 230 | Route::get( |
231 | 231 | 'searchMember/{keyword?}', |
@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | // setting |
297 | 297 | Route::group( |
298 | 298 | ['prefix' => 'setting'], |
299 | - function () { |
|
299 | + function() { |
|
300 | 300 | |
301 | 301 | Route::get( |
302 | 302 | '/', |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | * */ |
370 | 370 | Route::settings( |
371 | 371 | 'group', |
372 | - function () { |
|
372 | + function() { |
|
373 | 373 | |
374 | 374 | Route::get( |
375 | 375 | 'searchGroup/{keyword?}', |
@@ -412,7 +412,7 @@ discard block |
||
412 | 412 | /* setting */ |
413 | 413 | Route::settings( |
414 | 414 | 'setting', |
415 | - function () { |
|
415 | + function() { |
|
416 | 416 | Route::get( |
417 | 417 | '/', |
418 | 418 | [ |
@@ -444,7 +444,7 @@ discard block |
||
444 | 444 | |
445 | 445 | Route::settings( |
446 | 446 | 'menu', |
447 | - function () { |
|
447 | + function() { |
|
448 | 448 | |
449 | 449 | Route::get( |
450 | 450 | '/', |
@@ -528,7 +528,7 @@ discard block |
||
528 | 528 | /* theme package */ |
529 | 529 | Route::settings( |
530 | 530 | 'theme', |
531 | - function () { |
|
531 | + function() { |
|
532 | 532 | Route::get('edit', ['as' => 'settings.theme.edit', 'uses' => 'ThemeController@getEdit']); |
533 | 533 | Route::post('edit', ['as' => 'settings.theme.edit', 'uses' => 'ThemeController@postEdit']); |
534 | 534 | } |
@@ -537,7 +537,7 @@ discard block |
||
537 | 537 | /* plugin package */ |
538 | 538 | Route::settings( |
539 | 539 | 'plugins', |
540 | - function () { |
|
540 | + function() { |
|
541 | 541 | Route::get( |
542 | 542 | '/', |
543 | 543 | [ |
@@ -573,10 +573,10 @@ discard block |
||
573 | 573 | } |
574 | 574 | ); |
575 | 575 | |
576 | -Route::settings('category', function () { |
|
576 | +Route::settings('category', function() { |
|
577 | 577 | |
578 | 578 | // 이하 신규 |
579 | - Route::group(['prefix' => '{id}', 'where' => ['id' => '[0-9]+']], function () { |
|
579 | + Route::group(['prefix' => '{id}', 'where' => ['id' => '[0-9]+']], function() { |
|
580 | 580 | Route::get('/', ['as' => 'manage.category.show', 'uses' => 'CategoryController@show']); |
581 | 581 | Route::post('item/store', [ |
582 | 582 | 'as' => 'manage.category.edit.item.store', |
@@ -606,14 +606,14 @@ discard block |
||
606 | 606 | |
607 | 607 | }); |
608 | 608 | |
609 | -Route::group(['prefix' => 'tag'], function () { |
|
609 | +Route::group(['prefix' => 'tag'], function() { |
|
610 | 610 | Route::get('autoComplete', ['as' => 'tag.autoComplete', 'uses' => 'TagController@autoComplete']); |
611 | 611 | }); |
612 | 612 | |
613 | 613 | Route::get('file/{id}', ['as' => 'file.path', 'uses' => 'StorageController@file'])->where('id', '[0-9a-z\-]+'); |
614 | 614 | |
615 | 615 | |
616 | -Route::settings('dynamicField', function () { |
|
616 | +Route::settings('dynamicField', function() { |
|
617 | 617 | Route::get('/', ['as' => 'manage.dynamicField.index', 'uses' => 'DynamicFieldController@index']); |
618 | 618 | Route::get('getSkinOption', ['as' => 'manage.dynamicField.getSkinOption', 'uses' => 'DynamicFieldController@getSkinOption']); |
619 | 619 | Route::get('getAdditionalConfigure', ['as' => 'manage.dynamicField.getAdditionalConfigure', 'uses' => 'DynamicFieldController@getAdditionalConfigure']); |
@@ -623,12 +623,12 @@ discard block |
||
623 | 623 | Route::post('destroy', ['as' => 'manage.dynamicField.destroy', 'uses' => 'DynamicFieldController@destroy']); |
624 | 624 | }); |
625 | 625 | |
626 | -Route::group(['prefix' => 'fieldType'], function () { |
|
626 | +Route::group(['prefix' => 'fieldType'], function() { |
|
627 | 627 | Route::post('/storeCategory', ['as' => 'fieldType.storeCategory', 'uses' => 'FieldTypeController@storeCategory']); |
628 | 628 | Route::get('/storeCategory', ['as' => 'fieldType.storeCategory', 'uses' => 'FieldTypeController@storeCategory']); |
629 | 629 | }); |
630 | 630 | |
631 | -Route::group(['prefix' => 'temporary'], function () { |
|
631 | +Route::group(['prefix' => 'temporary'], function() { |
|
632 | 632 | Route::get('/', ['as' => 'temporary.index', 'uses' => 'TemporaryController@index']); |
633 | 633 | Route::post('store', ['as' => 'temporary.store', 'uses' => 'TemporaryController@store']); |
634 | 634 | Route::post('update/{temporaryId}', ['as' => 'temporary.update', 'uses' => 'TemporaryController@update']) |
@@ -640,7 +640,7 @@ discard block |
||
640 | 640 | Route::post('destroyAuto', ['as' => 'temporary.destroyAuto', 'uses' => 'TemporaryController@destroyAuto']); |
641 | 641 | }); |
642 | 642 | |
643 | -Route::settings('widget', function () { |
|
643 | +Route::settings('widget', function() { |
|
644 | 644 | Route::get('list', ['as' => 'manage.widget.list', 'uses' => 'WidgetController@index']); |
645 | 645 | Route::get('setup', ['as' => 'manage.widget.setup', 'uses' => 'WidgetController@setup']); |
646 | 646 | Route::get('render', ['as' => 'manage.widget.render', 'uses' => 'WidgetController@render']); |
@@ -648,15 +648,15 @@ discard block |
||
648 | 648 | |
649 | 649 | }); |
650 | 650 | |
651 | -Route::fixed('toggleMenu', function () { |
|
651 | +Route::fixed('toggleMenu', function() { |
|
652 | 652 | Route::get('/', ['as' => 'fixed.toggleMenu', 'uses' => 'ToggleMenuController@get']); |
653 | 653 | }); |
654 | 654 | |
655 | -Route::settings('toggleMenu', function () { |
|
655 | +Route::settings('toggleMenu', function() { |
|
656 | 656 | Route::post('setting', ['as' => 'manage.toggleMenu.setting', 'uses' => 'ToggleMenuController@postSetting']); |
657 | 657 | }); |
658 | 658 | |
659 | -Route::settings('trash', function () { |
|
659 | +Route::settings('trash', function() { |
|
660 | 660 | Route::get('/', ['as' => 'manage.trash.index', 'uses' => 'TrashController@index']); |
661 | 661 | Route::post('/clean', ['as' => 'manage.trash.clean', 'uses' => 'TrashController@clean']); |
662 | 662 | }); |
@@ -664,7 +664,7 @@ discard block |
||
664 | 664 | /* skin package */ |
665 | 665 | Route::settings( |
666 | 666 | 'skin', |
667 | - function () { |
|
667 | + function() { |
|
668 | 668 | Route::get('/section', ['as' => 'settings.skin.section.setting', 'uses' => 'SkinController@getSetting']); |
669 | 669 | Route::post('/section', ['as' => 'settings.skin.section.setting', 'uses' => 'SkinController@postSetting']); |
670 | 670 | } |
@@ -672,7 +672,7 @@ discard block |
||
672 | 672 | |
673 | 673 | Route::settings( |
674 | 674 | 'seo', |
675 | - function () { |
|
675 | + function() { |
|
676 | 676 | Route::get( |
677 | 677 | 'setting', |
678 | 678 | [ |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | $list = []; |
41 | 41 | $total = []; |
42 | 42 | foreach ($disks as $disk => $setting) { |
43 | - $scope = function ($query) use ($disk) { |
|
43 | + $scope = function($query) use ($disk) { |
|
44 | 44 | $query->where('disk', $disk); |
45 | 45 | }; |
46 | 46 | $bytes = XeStorage::bytesByMime($scope); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | return View::make('widget.widgets.storageSpace.show', [ |
69 | - 'list' => array_filter($list, function ($item) { |
|
69 | + 'list' => array_filter($list, function($item) { |
|
70 | 70 | return !empty($item['bytes']); |
71 | 71 | }), |
72 | 72 | 'total' => $total |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | 'name' => 'Guest' |
203 | 203 | ], |
204 | 204 | 'displayName' => [ |
205 | - 'validate' => function ($value) { |
|
205 | + 'validate' => function($value) { |
|
206 | 206 | if (!is_string($value) && !is_numeric($value)) { |
207 | 207 | return false; |
208 | 208 | } |
@@ -232,14 +232,14 @@ discard block |
||
232 | 232 | 'levels' => [ |
233 | 233 | 'low' => [ |
234 | 234 | 'title' => '낮음', |
235 | - 'validate' => function ($password) { |
|
235 | + 'validate' => function($password) { |
|
236 | 236 | return strlen($password) >= 4; |
237 | 237 | }, |
238 | 238 | 'description' => '비밀번호는 4자 이상이어야 합니다.' |
239 | 239 | ], |
240 | 240 | 'normal' => [ |
241 | 241 | 'title' => '보통', |
242 | - 'validate' => function ($password) { |
|
242 | + 'validate' => function($password) { |
|
243 | 243 | if (!preg_match_all( |
244 | 244 | '$\S*(?=\S{6,})(?=\S*[a-zA-Z])(?=\S*[\d])\S*$', |
245 | 245 | $password |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | ], |
254 | 254 | 'high' => [ |
255 | 255 | 'title' => '높음', |
256 | - 'validate' => function ($password) { |
|
256 | + 'validate' => function($password) { |
|
257 | 257 | if (!preg_match_all( |
258 | 258 | '$\S*(?=\S{8,})(?=\S*[a-zA-Z])(?=\S*[\d])(?=\S*[\W])\S*$', |
259 | 259 | $password |
@@ -279,10 +279,10 @@ discard block |
||
279 | 279 | |
280 | 280 | 'group' => [ |
281 | 281 | 'virtualGroup' => [ |
282 | - 'all' => function () { |
|
282 | + 'all' => function() { |
|
283 | 283 | return []; |
284 | 284 | }, |
285 | - 'getByUser' => function (\Xpressengine\User\UserInterface $user) { |
|
285 | + 'getByUser' => function(\Xpressengine\User\UserInterface $user) { |
|
286 | 286 | return []; |
287 | 287 | }, |
288 | 288 | |
@@ -335,9 +335,9 @@ discard block |
||
335 | 335 | 'path' => 'attached', |
336 | 336 | 'type' => 'fit', |
337 | 337 | 'dimensions' => [ |
338 | - 'S' => ['width' => 200, 'height' => 200,], |
|
339 | - 'M' => ['width' => 400, 'height' => 400,], |
|
340 | - 'L' => ['width' => 800, 'height' => 800,], |
|
338 | + 'S' => ['width' => 200, 'height' => 200, ], |
|
339 | + 'M' => ['width' => 400, 'height' => 400, ], |
|
340 | + 'L' => ['width' => 800, 'height' => 800, ], |
|
341 | 341 | ], |
342 | 342 | ], |
343 | 343 | |
@@ -348,7 +348,7 @@ discard block |
||
348 | 348 | 'ffmpeg.binaries' => '/usr/local/bin/ffmpeg', |
349 | 349 | 'ffprobe.binaries' => '/usr/local/bin/ffprobe', |
350 | 350 | 'timeout' => 3600, // The timeout for the underlying process |
351 | - 'ffmpeg.threads' => 4, // The number of threads that FFMpeg should use |
|
351 | + 'ffmpeg.threads' => 4, // The number of threads that FFMpeg should use |
|
352 | 352 | ] |
353 | 353 | ], |
354 | 354 | 'videoSnapshotFromSec' => 10 |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | public function install() |
11 | 11 | { |
12 | 12 | |
13 | - Schema::create('files', function (Blueprint $table) { |
|
13 | + Schema::create('files', function(Blueprint $table) { |
|
14 | 14 | $table->engine = "InnoDB"; |
15 | 15 | |
16 | 16 | $table->string('id', 36); |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | $table->index('originId'); |
33 | 33 | }); |
34 | 34 | |
35 | - Schema::create('fileables', function (Blueprint $table) { |
|
35 | + Schema::create('fileables', function(Blueprint $table) { |
|
36 | 36 | $table->increments('id'); |
37 | 37 | $table->string('fileId', 36); |
38 | 38 | $table->string('fileableId', 36); |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | |
10 | 10 | public function install() |
11 | 11 | { |
12 | - Schema::create('category_group', function (Blueprint $table) { |
|
12 | + Schema::create('category_group', function(Blueprint $table) { |
|
13 | 13 | $table->engine = "InnoDB"; |
14 | 14 | |
15 | 15 | $table->increments('id'); |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | $table->timestamp('updatedAt'); |
20 | 20 | }); |
21 | 21 | |
22 | - Schema::create('category_item', function (Blueprint $table) { |
|
22 | + Schema::create('category_item', function(Blueprint $table) { |
|
23 | 23 | $table->engine = "InnoDB"; |
24 | 24 | |
25 | 25 | $table->increments('id'); |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | // $table->unique(['targetId', 'itemId']); |
48 | 48 | // }); |
49 | 49 | |
50 | - Schema::create('category_item_hierarchy', function (Blueprint $table) { |
|
50 | + Schema::create('category_item_hierarchy', function(Blueprint $table) { |
|
51 | 51 | $table->engine = "InnoDB"; |
52 | 52 | |
53 | 53 | $table->bigIncrements('id'); |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | |
10 | 10 | public function install() |
11 | 11 | { |
12 | - Schema::create('user', function (Blueprint $table) { |
|
12 | + Schema::create('user', function(Blueprint $table) { |
|
13 | 13 | $table->engine = "InnoDB"; |
14 | 14 | |
15 | 15 | $table->string('id', 36); |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | $table->primary('id'); |
29 | 29 | }); |
30 | 30 | |
31 | - Schema::create('user_group', function (Blueprint $table) { |
|
31 | + Schema::create('user_group', function(Blueprint $table) { |
|
32 | 32 | $table->engine = "InnoDB"; |
33 | 33 | |
34 | 34 | $table->string('id', 36); |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | $table->primary('id'); |
43 | 43 | }); |
44 | 44 | |
45 | - Schema::create('user_group_user', function (Blueprint $table) { |
|
45 | + Schema::create('user_group_user', function(Blueprint $table) { |
|
46 | 46 | $table->engine = "InnoDB"; |
47 | 47 | |
48 | 48 | $table->increments('id'); |
@@ -50,12 +50,12 @@ discard block |
||
50 | 50 | $table->string('userId', 36); |
51 | 51 | $table->timestamp('createdAt'); |
52 | 52 | |
53 | - $table->unique(['groupId','userId']); |
|
53 | + $table->unique(['groupId', 'userId']); |
|
54 | 54 | $table->index('groupId'); |
55 | 55 | $table->index('userId'); |
56 | 56 | }); |
57 | 57 | |
58 | - Schema::create('user_account', function (Blueprint $table) { |
|
58 | + Schema::create('user_account', function(Blueprint $table) { |
|
59 | 59 | $table->engine = "InnoDB"; |
60 | 60 | |
61 | 61 | $table->string('id', 36); |
@@ -69,10 +69,10 @@ discard block |
||
69 | 69 | $table->timestamp('updatedAt'); |
70 | 70 | |
71 | 71 | $table->primary('id'); |
72 | - $table->unique(['provider','accountId']); |
|
72 | + $table->unique(['provider', 'accountId']); |
|
73 | 73 | }); |
74 | 74 | |
75 | - Schema::create('user_email', function (Blueprint $table) { |
|
75 | + Schema::create('user_email', function(Blueprint $table) { |
|
76 | 76 | $table->engine = "InnoDB"; |
77 | 77 | |
78 | 78 | $table->increments('id'); |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | $table->index('address'); |
86 | 86 | }); |
87 | 87 | |
88 | - Schema::create('user_pending_email', function (Blueprint $table) { |
|
88 | + Schema::create('user_pending_email', function(Blueprint $table) { |
|
89 | 89 | $table->engine = "InnoDB"; |
90 | 90 | |
91 | 91 | $table->increments('id'); |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | $table->index('address'); |
100 | 100 | }); |
101 | 101 | |
102 | - Schema::create('password_resets', function (Blueprint $table) { |
|
102 | + Schema::create('password_resets', function(Blueprint $table) { |
|
103 | 103 | $table->engine = "InnoDB"; |
104 | 104 | |
105 | 105 | $table->increments('id'); |
@@ -114,11 +114,11 @@ |
||
114 | 114 | public function installed() |
115 | 115 | { |
116 | 116 | \DB::table('config')->insert([ |
117 | - ['name' => 'user', 'vars' => '[]'], |
|
118 | - ['name' => 'user.common', 'vars' => '{"secureLevel":"low","useCaptcha":false,"webmasterName":"webmaster","webmasterEmail":"[email protected]","agreement":"","privacy":""}'], |
|
119 | - ['name' => 'user.join', 'vars' => '{"joinable":true,"useEmailCertify":false,"useCaptcha":false}'], |
|
120 | - ['name' => 'user.usermenu', 'vars' => '{"activate":[]}'], |
|
121 | - ]); |
|
117 | + ['name' => 'user', 'vars' => '[]'], |
|
118 | + ['name' => 'user.common', 'vars' => '{"secureLevel":"low","useCaptcha":false,"webmasterName":"webmaster","webmasterEmail":"[email protected]","agreement":"","privacy":""}'], |
|
119 | + ['name' => 'user.join', 'vars' => '{"joinable":true,"useEmailCertify":false,"useCaptcha":false}'], |
|
120 | + ['name' => 'user.usermenu', 'vars' => '{"activate":[]}'], |
|
121 | + ]); |
|
122 | 122 | } |
123 | 123 | |
124 | 124 | public function update($currentVersion) |