mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 03:55:18 +00:00
issue #564
This commit is contained in:
parent
aa9fef7778
commit
c5dcac4dbb
2 changed files with 2 additions and 2 deletions
|
@ -860,7 +860,7 @@ function import_conv($channel,$convs) {
|
||||||
if($channel && $convs) {
|
if($channel && $convs) {
|
||||||
foreach($convs as $conv) {
|
foreach($convs as $conv) {
|
||||||
if($conv['deleted']) {
|
if($conv['deleted']) {
|
||||||
q("delete from conv where guid = '%s' and uid = %d limit 1",
|
q("delete from conv where guid = '%s' and uid = %d",
|
||||||
dbesc($conv['guid']),
|
dbesc($conv['guid']),
|
||||||
intval($channel['channel_id'])
|
intval($channel['channel_id'])
|
||||||
);
|
);
|
||||||
|
|
|
@ -436,7 +436,7 @@ function private_messages_drop($channel_id, $messageitem_id, $drop_conversation
|
||||||
intval($channel_id)
|
intval($channel_id)
|
||||||
);
|
);
|
||||||
if($z) {
|
if($z) {
|
||||||
q("delete from conv where guid = '%s' and uid = %d limit 1",
|
q("delete from conv where guid = '%s' and uid = %d",
|
||||||
dbesc($x[0]['conv_guid']),
|
dbesc($x[0]['conv_guid']),
|
||||||
intval($channel_id)
|
intval($channel_id)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue