aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Profiles.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Profiles.php')
-rw-r--r--Zotlabs/Module/Profiles.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Profiles.php b/Zotlabs/Module/Profiles.php
index 15252d6e6..58e5857ed 100644
--- a/Zotlabs/Module/Profiles.php
+++ b/Zotlabs/Module/Profiles.php
@@ -1,6 +1,7 @@
<?php
namespace Zotlabs\Module;
+use Zotlabs\Lib\Config;
use Zotlabs\Lib\Libsync;
class Profiles extends \Zotlabs\Web\Controller {
@@ -673,7 +674,7 @@ class Profiles extends \Zotlabs\Web\Controller {
$opt_tpl = get_markup_template("field_checkbox.tpl");
- if (get_config('system', 'publish_all')) {
+ if (Config::Get('system', 'publish_all')) {
$profile_in_dir = '<input type="hidden" name="profile_in_directory" value="1" />';
}
else {
@@ -716,7 +717,7 @@ class Profiles extends \Zotlabs\Web\Controller {
//$vctmp = (($vc) ? \Sabre\VObject\Reader::read($vc) : null);
//$vcard = (($vctmp) ? get_vcard_array($vctmp,$r[0]['id']) : [] );
- $f = get_config('system','birthday_input_format');
+ $f = Config::Get('system','birthday_input_format');
if(! $f)
$f = 'ymd';