aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-04-29 21:38:36 +0200
committerMario Vavti <mario@mariovavti.com>2016-04-29 21:38:36 +0200
commit931a4fafe316b23bacf92ac1ff35f9b8467415dd (patch)
treecedf2c977cf289dd9b3a5634ced1cd92c6a21baa /Zotlabs/Module
parent83a0e82d5cba8d3e241c51e3c2e9fd2466183b72 (diff)
downloadvolse-hubzilla-931a4fafe316b23bacf92ac1ff35f9b8467415dd.tar.gz
volse-hubzilla-931a4fafe316b23bacf92ac1ff35f9b8467415dd.tar.bz2
volse-hubzilla-931a4fafe316b23bacf92ac1ff35f9b8467415dd.zip
get rid of the unused ispublic variable
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Cal.php2
-rw-r--r--Zotlabs/Module/Editpost.php1
-rw-r--r--Zotlabs/Module/Photos.php2
3 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Cal.php b/Zotlabs/Module/Cal.php
index 89967bca1..958ce5aa6 100644
--- a/Zotlabs/Module/Cal.php
+++ b/Zotlabs/Module/Cal.php
@@ -38,7 +38,7 @@ class Cal extends \Zotlabs\Web\Controller {
head_set_icon(\App::$data['channel']['xchan_photo_s']);
- \App::$page['htmlhead'] .= "<script> var ispublic = '" . t('everybody') . "'; var profile_uid = " . ((\App::$data['channel']) ? \App::$data['channel']['channel_id'] : 0) . "; </script>" ;
+ \App::$page['htmlhead'] .= "<script> var profile_uid = " . ((\App::$data['channel']) ? \App::$data['channel']['channel_id'] : 0) . "; </script>" ;
}
diff --git a/Zotlabs/Module/Editpost.php b/Zotlabs/Module/Editpost.php
index fd9912fe9..1c2c2a30b 100644
--- a/Zotlabs/Module/Editpost.php
+++ b/Zotlabs/Module/Editpost.php
@@ -83,7 +83,6 @@ class Editpost extends \Zotlabs\Web\Controller {
}
$x = array(
- 'ispublic' => '&nbsp;',
'nickname' => $channel['channel_address'],
'editor_autocomplete'=> true,
'bbco_autocomplete'=> 'bbcode',
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php
index 15a1f4d9c..2b7f5525f 100644
--- a/Zotlabs/Module/Photos.php
+++ b/Zotlabs/Module/Photos.php
@@ -42,7 +42,7 @@ class Photos extends \Zotlabs\Web\Controller {
head_set_icon(\App::$data['channel']['xchan_photo_s']);
- \App::$page['htmlhead'] .= "<script> var ispublic = '" . t('everybody') . "'; var profile_uid = " . ((\App::$data['channel']) ? \App::$data['channel']['channel_id'] : 0) . "; </script>" ;
+ \App::$page['htmlhead'] .= "<script> var profile_uid = " . ((\App::$data['channel']) ? \App::$data['channel']['channel_id'] : 0) . "; </script>" ;
}