RooJsonOutputTrait.php
authoredward <edward@roojs.com>
Thu, 28 Apr 2016 08:42:36 +0000 (16:42 +0800)
committeredward <edward@roojs.com>
Thu, 28 Apr 2016 08:42:36 +0000 (16:42 +0800)
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);