removed diagnostics - no longer needed

This commit is contained in:
nobody 2020-08-08 05:21:48 -07:00
parent 92b4038d6a
commit 8d58e09a37

View file

@ -1,25 +0,0 @@
<?php
namespace Zotlabs\Module;
use App;
use Zotlabs\Web\Controller;
use Zotlabs\Lib\Libzot;
class Zi extends Controller {
function get() {
if (argc() < 2) {
killme();
}
$channel = channelx_by_nick(argv(1));
if (! $channel) {
http_status_exit(404, 'Not found');
}
return str_replace("\n","<br>", print_r( Libzot::zotinfo([ 'guid_hash' => $channel['channel_hash'] ]), true));
}
}