codeblock updates

This commit is contained in:
Philipp Holzer
2019-02-05 23:42:49 +01:00
parent d9e38be4df
commit 62c79e1c4f
6 changed files with 54 additions and 31 deletions

View File

@@ -28,6 +28,9 @@ class JITConfigAdapter implements IConfigAdapter
$this->configCache = $configCache;
}
/**
* {@inheritdoc}
*/
public function load($cat = "config")
{
// We don't preload "system" anymore.
@@ -50,6 +53,9 @@ class JITConfigAdapter implements IConfigAdapter
DBA::close($configs);
}
/**
* {@inheritdoc}
*/
public function get($cat, $k, $default_value = null, $refresh = false)
{
if (!$refresh) {
@@ -92,6 +98,9 @@ class JITConfigAdapter implements IConfigAdapter
return $default_value;
}
/**
* {@inheritdoc}
*/
public function set($cat, $k, $value)
{
// We store our setting values in a string variable.
@@ -129,6 +138,9 @@ class JITConfigAdapter implements IConfigAdapter
return $result;
}
/**
* {@inheritdoc}
*/
public function delete($cat, $k)
{
if (isset($this->cache[$cat][$k])) {