Selaa lähdekoodia

Update imapsync_cron.pl

Second unlocking lock_file failed because it was already unlocked.
hunter-nl 6 vuotta sitten
vanhempi
sitoutus
e59417ed78
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      data/Dockerfiles/dovecot/imapsync_cron.pl

+ 0 - 1
data/Dockerfiles/dovecot/imapsync_cron.pl

@@ -146,7 +146,6 @@ while ($row = $sth->fetchrow_arrayref()) {
     $update = $dbh->prepare("UPDATE imapsync SET last_run = NOW(), is_running = 0 WHERE id = ?");
     $update->bind_param( 1, ${id} );
     $update->execute();
-    $lockmgr->unlock($lock_file);
   };