DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Thu, 19 Mar 2015 02:15:16 +0000 (10:15 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Mar 2015 02:15:16 +0000 (10:15 +0800)
DataObjects/Person.php

index 501d8df..ebb98b2 100644 (file)
@@ -12,33 +12,7 @@ class Pman_MTrack_DataObjects_Person extends Pman_Core_DataObjects_Person
 {
     
     
-    function checkPerm($perm, $au)
-    {
-        
-        
-        
-        // assume that this is correct..
-        if (!$au ) {
-            return false;
-        }
-        $ret = parent::checkPerm($perm,$au);
-        if ($ret) {
-            return $ret;
-        }
-        // at this point we need to determine should we allow access.
-        // a touch risky...
-        if ($perm == 'S') {
-            return true;
-        }
-        
-         
-        // un-authenticated .. no access...
-        return false; 
-  
-  
-  
-        
-    }
+    
     
     function applyFilters($q, $au, $roo)
     {