From: edward Date: Wed, 30 Mar 2016 10:51:18 +0000 (+0800) Subject: RooTrait.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=da0339a2c6a359c65c641a8d0b7f6664c5426316 RooTrait.php --- diff --git a/RooTrait.php b/RooTrait.php index 45a18f9f..1c3a34a4 100644 --- a/RooTrait.php +++ b/RooTrait.php @@ -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)) {