[Fusionforge-commits] r12225 - branches/Branch_5_1/src/plugins/oslc/include/oslc-zend/application/controllers

Olivier Berger olberger at libremir.placard.fr.eu.org
Thu Feb 10 16:11:37 CET 2011


Author: olberger
Date: 2011-02-10 16:11:37 +0100 (Thu, 10 Feb 2011)
New Revision: 12225

Modified:
   branches/Branch_5_1/src/plugins/oslc/include/oslc-zend/application/controllers/CmController.php
Log:
Remove debug messages

Modified: branches/Branch_5_1/src/plugins/oslc/include/oslc-zend/application/controllers/CmController.php
===================================================================
--- branches/Branch_5_1/src/plugins/oslc/include/oslc-zend/application/controllers/CmController.php	2011-02-10 15:11:32 UTC (rev 12224)
+++ branches/Branch_5_1/src/plugins/oslc/include/oslc-zend/application/controllers/CmController.php	2011-02-10 15:11:37 UTC (rev 12225)
@@ -159,11 +159,11 @@
 	  
 	  $req = $this->getRequest();
 	  //		$action = $req->getActionName();
-	  print_r("Action : ".$action);
+	  //	  print_r("Action : ".$action);
 	  
 	  // check Accept header's mime type 
 	  $accept = $req->getHeader('Accept');
-	  print_r("\nAccept : ".$accept);
+	  //print_r("\nAccept : ".$accept);
 	  
 	  // prepare an array of accepted types
 	  $accepted_types = array();
@@ -173,7 +173,7 @@
 	  // make sure text/html is always an option (in last option)
 	  $accepted_types[]='text/html';
 	  //print_r("\nAccepted types:");
-	  print_r($accepted_types);
+	  //print_r($accepted_types);
 	  // If we can't directly find the accept header, then, have to negociate maybe among alternatives
 	  if(!isset($mime_types[$action][$accept])) {
 	    // use PEAR's HTTP::negotiateMimeType to identify the preferred content-type




More information about the Fusionforge-commits mailing list