RooTrait.php
authoredward <edward@roojs.com>
Wed, 30 Mar 2016 10:27:00 +0000 (18:27 +0800)
committeredward <edward@roojs.com>
Wed, 30 Mar 2016 10:27:00 +0000 (18:27 +0800)
RooTrait.php

index e581409..c859cdf 100644 (file)
@@ -177,8 +177,6 @@ trait Pman_Core_RooTrait {
         require_once 'Services/JSON.php';
         $json = new Services_JSON();
         
-        // log all errors!!!
-        
         $retHTML = isset($_SERVER['CONTENT_TYPE']) && 
                 preg_match('#multipart/form-data#i', $_SERVER['CONTENT_TYPE']);
         
@@ -190,7 +188,6 @@ trait Pman_Core_RooTrait {
             $retHTML = isset($_REQUEST['returnHTML']) && $_REQUEST['returnHTML'] !='NO';
         }
         
-        
         if ($retHTML) {
             header('Content-type: text/html');
             echo "<HTML><HEAD></HEAD><BODY>";
@@ -228,7 +225,6 @@ trait Pman_Core_RooTrait {
             'authFailure' => !empty($errors['authFailure']),
         ));
         
-        
         exit;
         
     }