From 8cd064b3e4703cc18d91ab37fe31ebd3c014f146 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 6 Mar 2015 12:03:45 +0100 Subject: [PATCH] Do not update room_participant table anymore iun ping --- vroom.pl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/vroom.pl b/vroom.pl index 9349b86..f8cb945 100755 --- a/vroom.pl +++ b/vroom.pl @@ -460,16 +460,6 @@ helper ping_room => sub { WHERE `id`=?'); }; $sth->execute($data->{id}); - $sth = eval { - $self->db->prepare('UPDATE `room_participants` - SET `last_activity`=CONVERT_TZ(NOW(), @@session.time_zone, \'+00:00\') - WHERE `id`=? - AND `participant`=?'); - }; - $sth->execute( - $data->{id}, - $self->session('name') - ); $self->app->log->debug($self->session('name') . " pinged the room $name"); return 1; };