X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=RooTrait.php;h=3f0f4d4f4a677c5d6f0f51d7c9bf31aba8a03f36;hb=85febec95a61d10c73c74c86d252aa8f60873ad3;hp=e24d23bbd554bcdebe6b6df23ca1a1d12ff29b2c;hpb=1d990da68e981b0a9296367f23d9275cb2522194;p=Pman.Core diff --git a/RooTrait.php b/RooTrait.php index e24d23bb..3f0f4d4f 100644 --- a/RooTrait.php +++ b/RooTrait.php @@ -171,7 +171,7 @@ trait Pman_Core_RooTrait { { if (method_exists($x, 'applyFilters')) { // DB_DataObject::debugLevel(1); - if (false === $x->applyFilters($q, $this->getAuthUser(), $this)) { + if (false === $x->applyFilters($q, $this->authUser, $this)) { return; } } @@ -310,7 +310,7 @@ trait Pman_Core_RooTrait { return; } - if (Pman::$permitError) { + if (self::$permitError) { return; @@ -368,7 +368,7 @@ trait Pman_Core_RooTrait { if (!method_exists($obj, 'checkPerm')) { return true; } - if ($obj->checkPerm($lvl, $this->getAuthUser(), $req)) { + if ($obj->checkPerm($lvl, $this->authUser, $req)) { return true; }