RooPostTrait.php
authoredward <edward@roojs.com>
Thu, 31 Mar 2016 02:03:50 +0000 (10:03 +0800)
committeredward <edward@roojs.com>
Thu, 31 Mar 2016 02:03:50 +0000 (10:03 +0800)
RooPostTrait.php

index 81b29a0..a627998 100644 (file)
@@ -90,16 +90,9 @@ trait Pman_Core_RooPostTrait {
      */                     
      
     function post($tab) // update / insert (?? delete??)
-    {
-        // -- why was this put in? - Roo is not related to Core.All ?
-        //if (!$this->hasPerm("Core.All", 'E'))  {
-        //        $this->jerr("PERMISSION DENIED (e)");
-        //}
-        
-        
+    {   
         PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, array($this, 'onPearError'));
     
-        //DB_DataObject::debugLevel(1);
         $this->checkDebug();
         
         if (!empty($_REQUEST['_get'])) {