projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a56e6a2
)
Lock.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Nov 2010 08:35:12 +0000
(16:35 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Nov 2010 08:35:12 +0000
(16:35 +0800)
Lock.php
patch
|
blob
|
history
diff --git
a/Lock.php
b/Lock.php
index
dfd4287
..
fa29ec0
100644
(file)
--- a/
Lock.php
+++ b/
Lock.php
@@
-87,6
+87,22
@@
class Pman_Core_Lock extends Pman
$this->jok($id);
}
$this->jok($id);
}
+
+ function canUnlock()
+ {
+ // the only scenario where we can automatically unlock is:::
+
+ // this user owns the lock.
+
+ // the user who owns the lock is not logged in..
+
+
+
+
+
+
+ }
+
}
\ No newline at end of file
}
\ No newline at end of file