Lock.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 18 Nov 2010 09:40:15 +0000 (17:40 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 18 Nov 2010 09:40:15 +0000 (17:40 +0800)
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'])) {