minor cleanup
This commit is contained in:
parent
3bb6c667db
commit
286c3eafe3
@ -21,6 +21,7 @@ require_once('include/crypto.php');
|
|||||||
require_once('include/items.php');
|
require_once('include/items.php');
|
||||||
require_once('include/attach.php');
|
require_once('include/attach.php');
|
||||||
require_once('include/bbcode.php');
|
require_once('include/bbcode.php');
|
||||||
|
require_once('include/security.php');
|
||||||
|
|
||||||
|
|
||||||
use \Zotlabs\Lib as Zlib;
|
use \Zotlabs\Lib as Zlib;
|
||||||
@ -35,8 +36,6 @@ class Item extends \Zotlabs\Web\Controller {
|
|||||||
if((! local_channel()) && (! remote_channel()) && (! x($_REQUEST,'commenter')))
|
if((! local_channel()) && (! remote_channel()) && (! x($_REQUEST,'commenter')))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
require_once('include/security.php');
|
|
||||||
|
|
||||||
$uid = local_channel();
|
$uid = local_channel();
|
||||||
$channel = null;
|
$channel = null;
|
||||||
$observer = null;
|
$observer = null;
|
||||||
@ -1037,8 +1036,6 @@ class Item extends \Zotlabs\Web\Controller {
|
|||||||
if((! local_channel()) && (! remote_channel()))
|
if((! local_channel()) && (! remote_channel()))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
require_once('include/security.php');
|
|
||||||
|
|
||||||
if((argc() == 3) && (argv(1) === 'drop') && intval(argv(2))) {
|
if((argc() == 3) && (argv(1) === 'drop') && intval(argv(2))) {
|
||||||
|
|
||||||
require_once('include/items.php');
|
require_once('include/items.php');
|
||||||
|
Reference in New Issue
Block a user