mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 15:55:13 +00:00
removed diagnostics - no longer needed
This commit is contained in:
parent
92b4038d6a
commit
8d58e09a37
1 changed files with 0 additions and 25 deletions
|
@ -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));
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue