Lock.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 18 Nov 2010 08:00:24 +0000 (16:00 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 18 Nov 2010 08:00:24 +0000 (16:00 +0800)
Lock.php

index e69de29..1c35584 100644 (file)
--- a/Lock.php
+++ b/Lock.php
@@ -0,0 +1,21 @@
+<?php
+
+
+require_once 'Pman.php';
+
+class Pman_Core_Lock extends Pman
+{
+    
+    function getAuth()
+    {
+         $au = $this->getAuthUser();
+        if (!$au) {
+             $this->jerr("Not authenticated", array('authFailure' => true));
+        }
+        $this->authUser = $au;
+        // check that it's a supplier!!!! 
+        
+        return true; 
+    }
+    
+}
\ No newline at end of file