minor cleanup

This commit is contained in:
Mario Vavti 2016-04-30 20:47:52 +02:00
parent 80c9a8b8f6
commit ab17b2e0d6

View File

@ -40,14 +40,8 @@ class Editpost extends \Zotlabs\Web\Controller {
goaway(z_root() . '/events/' . $itm[0]['resource_id'] . '?expandform=1'); goaway(z_root() . '/events/' . $itm[0]['resource_id'] . '?expandform=1');
} }
$owner_uid = $itm[0]['uid']; $owner_uid = $itm[0]['uid'];
$plaintext = true;
// if(feature_enabled(local_channel(),'richtext'))
// $plaintext = false;
$channel = \App::get_channel(); $channel = \App::get_channel();
if(intval($itm[0]['item_obscured'])) { if(intval($itm[0]['item_obscured'])) {
@ -116,6 +110,4 @@ class Editpost extends \Zotlabs\Web\Controller {
} }
} }