projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2fa3c2f
)
Lock.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 16 Mar 2012 06:43:10 +0000
(14:43 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 16 Mar 2012 06:43:10 +0000
(14:43 +0800)
Lock.php
patch
|
blob
|
history
diff --git
a/Lock.php
b/Lock.php
index
f21a38c
..
71ac45a
100644
(file)
--- a/
Lock.php
+++ b/
Lock.php
@@
-147,7
+147,12
@@
class Pman_Core_Lock extends Pman
}
}
if ($nlocks && !empty($_REQUEST['force'])) {
}
}
if ($nlocks && !empty($_REQUEST['force'])) {
- // user has decied to delete eveyone elses locks..
+ // user has decied to delete eveyone elses locks..
+ $curlock_ex->find();
+ while($curlock_ex->fetch()) {
+ $cc =clone($curlock_ex);
+ $cc->delete();
+ }