X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FExpireConversations.php;h=f7aa593cf6f3cd9fb9e6b35877951b0097f7186c;hb=edcfeaf66d797cc6bc9edf966b91b5eb95e5f127;hp=aedf7cea518987467cfffcb56c55bf9c277570d4;hpb=054c301ef0345c4ff9f35cfd08717757eab17b9d;p=friendica.git diff --git a/src/Worker/ExpireConversations.php b/src/Worker/ExpireConversations.php index aedf7cea51..f7aa593cf6 100644 --- a/src/Worker/ExpireConversations.php +++ b/src/Worker/ExpireConversations.php @@ -36,7 +36,6 @@ class ExpireConversations return; } - DBA::p("DELETE FROM `conversation` WHERE `received` < UTC_TIMESTAMP() - INTERVAL ? DAY", $days); - + DBA::delete('conversation', ["`received` < UTC_TIMESTAMP() - INTERVAL ? DAY", $days]); } }