From: edward Date: Thu, 31 Mar 2016 02:03:50 +0000 (+0800) Subject: RooPostTrait.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=f6428efa6c883ba41b9150ebd214aad5b382f497 RooPostTrait.php --- 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'])) {