network.php: add a descriptive comment
This commit is contained in:
parent
56c9f23e99
commit
fc37f49f23
|
@ -489,6 +489,7 @@ function network_content(&$a, $update = 0) {
|
||||||
$content = "";
|
$content = "";
|
||||||
|
|
||||||
if ($cid) {
|
if ($cid) {
|
||||||
|
// If $cid belongs to a communitity forum or a privat goup,.add a mention to the status editor
|
||||||
$contact = q("SELECT `nick` FROM `contact` WHERE `id` = %d AND `uid` = %d AND (`forum` OR `prv`) ",
|
$contact = q("SELECT `nick` FROM `contact` WHERE `id` = %d AND `uid` = %d AND (`forum` OR `prv`) ",
|
||||||
intval($cid),
|
intval($cid),
|
||||||
intval(local_user())
|
intval(local_user())
|
||||||
|
|
Loading…
Reference in a new issue