Skip to content

Commit 639b28b

Browse files
Fixed #199
1 parent 06fa475 commit 639b28b

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

packages/Webkul/Admin/src/Config/core_config.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
'title' => 'admin::app.configuration.locale',
1616
'type' => 'select',
1717
'data_source' => 'Webkul\Core\Core@locales'
18-
], [
19-
'name' => 'timezone',
20-
'title' => 'admin::app.configuration.timezone',
21-
'type' => 'select',
22-
'data_source' => 'Webkul\Core\Core@timezones'
2318
],
2419
],
2520
],

packages/Webkul/Admin/src/Http/Middleware/Locale.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ public function __construct(
2828
public function handle($request, Closure $next)
2929
{
3030
$this->app->setLocale(core()->getConfigData('general.locale_settings.locale'));
31-
32-
config('app.timezone', core()->getConfigData('general.locale_settings.timezone'));
3331

3432
return $next($request);
3533
}
36-
3734
}

packages/Webkul/Workflow/src/Providers/WorkflowServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function boot()
2121
return;
2222
}
2323

24-
// app(\Webkul\Workflow\Listeners\Entity::class)->process($eventName, current($data));
24+
app(\Webkul\Workflow\Listeners\Entity::class)->process($eventName, current($data));
2525
});
2626
}
2727

0 commit comments

Comments
 (0)