aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-28 18:45:11 -0800
committerfriendica <info@friendica.com>2012-11-28 18:45:11 -0800
commit05e08cb5d2967a12c479ab94187b1ef1bde0a094 (patch)
tree0b70e60b33da3985c5752d7caf0147f471408b91 /include/ItemObject.php
parent7c047bea332efaa11af0d02878d91823c4bba1ad (diff)
downloadvolse-hubzilla-05e08cb5d2967a12c479ab94187b1ef1bde0a094.tar.gz
volse-hubzilla-05e08cb5d2967a12c479ab94187b1ef1bde0a094.tar.bz2
volse-hubzilla-05e08cb5d2967a12c479ab94187b1ef1bde0a094.zip
trace through the threaded conversation spaghetti to bring back a sane looking network page
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index b91145906..6767acd73 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -51,6 +51,7 @@ class Item extends BaseObject {
// FIXME - base this on observer permissions
$this->writable = ((local_user() && $channel['channel_hash'] === $item['owner_xchan']) ? true : false);
+
$ssl_state = ((local_user()) ? true : false);
$this->redirect_url = $a->get_baseurl($ssl_state) . '/redir/' . $this->get_data_value('cid') ;
@@ -474,6 +475,8 @@ class Item extends BaseObject {
private function is_writable() {
$conv = $this->get_conversation();
+ return true;
+
if($conv) {
// This will allow us to comment on wall-to-wall items owned by our friends
// and community forums even if somebody else wrote the post.