Lock.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 18 Nov 2010 08:35:12 +0000 (16:35 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 18 Nov 2010 08:35:12 +0000 (16:35 +0800)
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);
         
     }
+    
+    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