Pman.js
[Pman.Core] / RooJsonOutputTrait.php
index 207986d..c307d27 100644 (file)
@@ -131,10 +131,6 @@ trait Pman_Core_RooJsonOutputTrait {
     
     function jdata($ar,$total=false, $extra=array(), $cachekey = false)
     {
-        if ($this->transObj ) {
-            $this->transObj->query( connection_aborted() ? 'ROLLBACK' :  'COMMIT');
-        }
-        
         // should do mobile checking???
         if ($total == false) {
             $total = count($ar);