remove logging

This commit is contained in:
Mike Macgirvin 2024-05-07 07:30:27 +10:00
parent 08562cc4c2
commit 2ce5fb02c9

View file

@ -177,7 +177,7 @@ class Manage extends Controller
dbesc($channel['channel_hash']),
intval(IDLINK_RELME)
);
logger('links:' . print_r($links,true), LOGGER_DATA);
// logger('links:' . print_r($links,true), LOGGER_DATA);
foreach ($links as $link) {
$linkedIds = q("select * from xchan where xchan_url = '%s' order by xchan_name asc",
dbesc($link['link'])
@ -185,10 +185,10 @@ class Manage extends Controller
if ($linkedIds) {
$linkedIdentities[] = Libzot::zot_record_preferred($linkedIds, 'xchan_network');
}
logger('linkedIdentities:' . print_r($linkedIdentities, true), LOGGER_DATA);
// logger('linkedIdentities:' . print_r($linkedIdentities, true), LOGGER_DATA);
}
}
logger('linkedIdentities-final:' . print_r($linkedIdentities, true), LOGGER_DATA);
// logger('linkedIdentities-final:' . print_r($linkedIdentities, true), LOGGER_DATA);
if ($delegates) {
for ($x = 0; $x < count($delegates); $x++) {
$delegates[$x]['link'] = 'magic?f=&bdest=' . bin2hex($delegates[$x]['xchan_url'])