RooTrait.php
authoredward <edward@roojs.com>
Wed, 30 Mar 2016 10:51:18 +0000 (18:51 +0800)
committeredward <edward@roojs.com>
Wed, 30 Mar 2016 10:51:18 +0000 (18:51 +0800)
RooTrait.php

index 45a18f9..1c3a34a 100644 (file)
@@ -68,15 +68,6 @@ trait Pman_Core_RooTrait {
         
     }
     
-    function checkDebugPost()
-    {
-        return (!empty($_GET['_post']) || !empty($_GET['_debug_post'])) && 
-                    $this->authUser && 
-                    method_exists($this->authUser,'groups') &&
-                    in_array('Administrators', $this->authUser->groups('name')); 
-        
-    }
-    
     function dataObject($tab)
     {
         if (is_array($this->validTables) &&  !in_array($tab, $this->validTables)) {