fixed setting manager namespace
This commit is contained in:
parent
dfe07ae8dc
commit
e4fa085940
@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ManiaControl;
|
namespace ManiaControl\Settings;
|
||||||
|
|
||||||
|
use ManiaControl\ManiaControl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class managing settings and configurations
|
* Class managing settings and configurations
|
||||||
@ -216,7 +218,7 @@ class SettingManager {
|
|||||||
* @internal param null $default
|
* @internal param null $default
|
||||||
* @internal param $className
|
* @internal param $className
|
||||||
* @internal param \ManiaControl\gIndex $settin
|
* @internal param \ManiaControl\gIndex $settin
|
||||||
* @return mixed|null
|
* @return mixed null
|
||||||
*/
|
*/
|
||||||
public function getSettingByIndex($settingIndex, $default = false) {
|
public function getSettingByIndex($settingIndex, $default = false) {
|
||||||
$mysqli = $this->maniaControl->database->mysqli;
|
$mysqli = $this->maniaControl->database->mysqli;
|
||||||
@ -233,7 +235,6 @@ class SettingManager {
|
|||||||
return $row;
|
return $row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a Setting Via it's class name
|
* Gets a Setting Via it's class name
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user