From da0339a2c6a359c65c641a8d0b7f6664c5426316 Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 30 Mar 2016 18:51:18 +0800 Subject: [PATCH] RooTrait.php --- RooTrait.php | 9 --------- 1 file changed, 9 deletions(-) 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)) { -- 2.39.2