mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Removed useless break statements
This commit is contained in:
parent
0935855def
commit
8887a92d4b
@ -227,7 +227,6 @@ namespace pocketmine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return parse_offset($offset);
|
return parse_offset($offset);
|
||||||
break;
|
|
||||||
case 'linux':
|
case 'linux':
|
||||||
// Ubuntu / Debian.
|
// Ubuntu / Debian.
|
||||||
if(file_exists('/etc/timezone')){
|
if(file_exists('/etc/timezone')){
|
||||||
@ -254,7 +253,6 @@ namespace pocketmine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return parse_offset($offset);
|
return parse_offset($offset);
|
||||||
break;
|
|
||||||
case 'mac':
|
case 'mac':
|
||||||
if(is_link('/etc/localtime')){
|
if(is_link('/etc/localtime')){
|
||||||
$filename = readlink('/etc/localtime');
|
$filename = readlink('/etc/localtime');
|
||||||
@ -265,10 +263,8 @@ namespace pocketmine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user