aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Go.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Go.php')
-rw-r--r--Zotlabs/Module/Go.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/Zotlabs/Module/Go.php b/Zotlabs/Module/Go.php
index d33136d9e..77a3ffac6 100644
--- a/Zotlabs/Module/Go.php
+++ b/Zotlabs/Module/Go.php
@@ -2,6 +2,7 @@
namespace Zotlabs\Module;
+use Zotlabs\Lib\Config;
class Go extends \Zotlabs\Web\Controller {
@@ -18,7 +19,7 @@ class Go extends \Zotlabs\Web\Controller {
function get() {
if(! local_channel()) {
- notify( t('This page is available only to site members') . EOL);
+ notice( t('This page is available only to site members') . EOL);
}
$channel = \App::get_channel();
@@ -44,9 +45,9 @@ class Go extends \Zotlabs\Web\Controller {
'network' => t('View your personal stream (this may be empty until you add some connections)'),
];
-
- $site_firehose = ((intval(get_config('system','site_firehose',0))) ? true : false);
- $net_firehose = ((get_config('system','disable_discover_tab',1)) ? false : true);
+
+ $site_firehose = ((intval(Config::Get('system','site_firehose',0))) ? true : false);
+ $net_firehose = ((Config::Get('system','disable_discover_tab',1)) ? false : true);
if($site_firehose || $net_firehose) {
$options['pubstream'] = t('View the public stream. Warning: this content is not moderated');
@@ -64,4 +65,4 @@ class Go extends \Zotlabs\Web\Controller {
}
-} \ No newline at end of file
+}