Formatting OCD

Please refer to CONTRIBUTING.md
This commit is contained in:
Shoghi Cervantes 2013-12-01 14:16:38 +01:00
parent 5e2de356bf
commit 7d0ff5e073

View File

@ -2,11 +2,11 @@
/** /**
* *
* ____ _ _ __ __ _ __ __ ____ * ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_| * |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by * it under the terms of the GNU Lesser General Public License as published by
@ -33,17 +33,13 @@ class LevelAPI{
return false; return false;
} }
public function isLoaded($name) public function isLoaded($name){
{ if(isset($this->levels[$name])){
if(isset($this->levels[$name])) return true;
{ }else{
return true; return false;
} }
else }
{
return false;
}
}
public function getDefault(){ public function getDefault(){
return $this->levels[$this->default]; return $this->levels[$this->default];