whitespace
This commit is contained in:
parent
7c57da3a28
commit
0db8d3f6c6
@ -4,7 +4,6 @@ namespace Zotlabs\Module;
|
|||||||
require_once('include/identity.php');
|
require_once('include/identity.php');
|
||||||
require_once('include/acl_selectors.php');
|
require_once('include/acl_selectors.php');
|
||||||
|
|
||||||
|
|
||||||
class Editblock extends \Zotlabs\Web\Controller {
|
class Editblock extends \Zotlabs\Web\Controller {
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
@ -25,8 +24,6 @@ class Editblock extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function get() {
|
function get() {
|
||||||
|
|
||||||
if(! \App::$profile) {
|
if(! \App::$profile) {
|
||||||
@ -77,7 +74,6 @@ class Editblock extends \Zotlabs\Web\Controller {
|
|||||||
// Figure out which post we're editing
|
// Figure out which post we're editing
|
||||||
$post_id = ((argc() > 2) ? intval(argv(2)) : 0);
|
$post_id = ((argc() > 2) ? intval(argv(2)) : 0);
|
||||||
|
|
||||||
|
|
||||||
if(! ($post_id && $owner)) {
|
if(! ($post_id && $owner)) {
|
||||||
notice( t('Item not found') . EOL);
|
notice( t('Item not found') . EOL);
|
||||||
return;
|
return;
|
||||||
@ -186,6 +182,4 @@ class Editblock extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user