RooTrait.php
[Pman.Core] / RooTrait.php
index 3a298ef..5e4a860 100644 (file)
@@ -92,7 +92,7 @@ trait Pman_Core_RooTrait {
         if (!is_array($id) && empty($id)) {
             
             if (method_exists($x, 'toRooSingleArray')) {
-                $this->jok($x->toRooSingleArray($this->getAuthUser(), $req));
+                $this->jok($x->toRooSingleArray($this->authUser, $req));
             }
             
             if (method_exists($x, 'toRooArray')) {
@@ -132,7 +132,7 @@ trait Pman_Core_RooTrait {
         }
         // different symantics on all these calls??
         if (method_exists($x, 'toRooSingleArray')) {
-            $this->jok($x->toRooSingleArray($this->getAuthUser(), $req));
+            $this->jok($x->toRooSingleArray($this->authUser, $req));
         }
         if (method_exists($x, 'toRooArray')) {
             $this->jok($x->toRooArray($req));
@@ -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; 
             } 
         }