aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.php')
-rw-r--r--include/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config.php b/include/config.php
index 12768f4da..29ea10b5a 100644
--- a/include/config.php
+++ b/include/config.php
@@ -44,7 +44,6 @@
* The category of the configuration value
*/
function load_config($family) {
- global $a;
if(! array_key_exists($family, App::$config))
App::$config[$family] = array();
@@ -110,6 +109,7 @@ function get_config($family, $key) {
* The configuration key to query
* @return mixed
*/
+
function get_config_from_storage($family, $key) {
$ret = q("SELECT * FROM config WHERE cat = '%s' AND k = '%s' LIMIT 1",
dbesc($family),