From f6428efa6c883ba41b9150ebd214aad5b382f497 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 31 Mar 2016 10:03:50 +0800 Subject: [PATCH] RooPostTrait.php --- RooPostTrait.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/RooPostTrait.php b/RooPostTrait.php index 81b29a06..a6279983 100644 --- a/RooPostTrait.php +++ b/RooPostTrait.php @@ -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'])) { -- 2.39.2