Changed Internal Callbacks formats to use objects directly instead of an array

This commit is contained in:
Steffen Schröder
2014-02-19 15:44:00 +01:00
parent 36fc15c7b1
commit ff9c21a8af
31 changed files with 176 additions and 206 deletions

View File

@ -80,10 +80,8 @@ class ServerSettings implements ConfiguratorMenu, CallbackListener {
/**
* Handle OnInit callback
*
* @param array $callback
*/
public function onInit(array $callback) {
public function onInit() {
$this->loadSettingsFromDatabase();
}