X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=RooTrait.php;h=3f0f4d4f4a677c5d6f0f51d7c9bf31aba8a03f36;hb=692861c958898f425cc365906c092559d7cfc60c;hp=5e4a8603e9c44c70113587a668c9fcc76f46a90a;hpb=222258cd89c719b0e099f52ce637b00fad06b6f2;p=Pman.Core diff --git a/RooTrait.php b/RooTrait.php index 5e4a8603..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->authUser(), $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; }