From: Alan Knowles Date: Mon, 26 Sep 2011 05:39:48 +0000 (+0800) Subject: Lock.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=3bf66b02078f2eefdbeee6b13e7738ef07e22476 Lock.php --- diff --git a/Lock.php b/Lock.php index d9a99f58..79581a8f 100644 --- a/Lock.php +++ b/Lock.php @@ -128,6 +128,7 @@ class Pman_Core_Lock extends Pman $this->jok(array_values($ret)); } + // trash the lock if it belongs to current user.. $nlocks = $curlock->count(); if ($nlocks) { // trash all the locks..