mirror of
https://github.com/openvk/openvk
synced 2025-07-01 21:48:17 +03:00
to snake case
This commit is contained in:
parent
dc9b448505
commit
d56cc74f7d
1 changed files with 2 additions and 2 deletions
|
@ -971,13 +971,13 @@ class User extends RowModel
|
|||
$platform = $this->getRecord()->client_name;
|
||||
if ($forAPI) {
|
||||
switch ($platform) {
|
||||
case 'OpenVK Native':
|
||||
case 'openvk_native':
|
||||
case 'openvk_refresh_android':
|
||||
case 'openvk_legacy_android':
|
||||
return 'android';
|
||||
break;
|
||||
|
||||
case 'OpenVK Native iOS':
|
||||
case 'openvk_native_ios':
|
||||
case 'openvk_ios':
|
||||
case 'openvk_legacy_ios':
|
||||
return 'iphone';
|
||||
|
|
Loading…
Reference in a new issue