mirror of
https://github.com/friendica/friendica
synced 2024-11-13 01:42:59 +00:00
take debugging commands out of mod/display
This commit is contained in:
parent
9dbe7efce5
commit
df53c98798
1 changed files with 1 additions and 2 deletions
|
@ -122,7 +122,6 @@ function display_content(&$a, $update = 0) {
|
||||||
|
|
||||||
if($update) {
|
if($update) {
|
||||||
|
|
||||||
dbg(1);
|
|
||||||
$r = q("SELECT id FROM item WHERE item.uid = %d
|
$r = q("SELECT id FROM item WHERE item.uid = %d
|
||||||
AND `item`.`parent` = ( SELECT `parent` FROM `item` WHERE ( `id` = '%s' OR `uri` = '%s' ))
|
AND `item`.`parent` = ( SELECT `parent` FROM `item` WHERE ( `id` = '%s' OR `uri` = '%s' ))
|
||||||
$sql_extra AND unseen = 1",
|
$sql_extra AND unseen = 1",
|
||||||
|
@ -130,7 +129,7 @@ dbg(1);
|
||||||
dbesc($item_id),
|
dbesc($item_id),
|
||||||
dbesc($item_id)
|
dbesc($item_id)
|
||||||
);
|
);
|
||||||
dbg(0);
|
|
||||||
if(!$r)
|
if(!$r)
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue