projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
097b715
)
RooTrait.php
author
edward
<edward@roojs.com>
Wed, 30 Mar 2016 10:51:18 +0000
(18:51 +0800)
committer
edward
<edward@roojs.com>
Wed, 30 Mar 2016 10:51:18 +0000
(18:51 +0800)
RooTrait.php
patch
|
blob
|
history
diff --git
a/RooTrait.php
b/RooTrait.php
index
45a18f9
..
1c3a34a
100644
(file)
--- 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)) {