Lock.php
[Pman.Core] / Lock.php
index a45fdd7..6dfe098 100644 (file)
--- a/Lock.php
+++ b/Lock.php
@@ -53,14 +53,14 @@ class Pman_Core_Lock extends Pman
         
         // default action is to attempt to lock..
         $action = empty($action) ? 'lock' : 'unlock';
-        $this->$action($curlock);
+        $this->$action();
         
        
         
         
     }
     
-    function unlock($curlock)
+    function unlock()
     {
     
         if (empty($_REQUEST['id'])) {