Fix typo in comments, rm debugging code
authorMax Semenik <maxsem.wiki@gmail.com>
Thu, 10 May 2012 17:01:50 +0000 (21:01 +0400)
committerMax Semenik <maxsem.wiki@gmail.com>
Thu, 10 May 2012 17:01:50 +0000 (21:01 +0400)
Change-Id: I1ae2e59048fbeaf1a1f279dd5bd38bd19b5a8498

includes/MimeMagic.php

index b91af61..a25eaca 100644 (file)
@@ -123,7 +123,7 @@ END_STRING
  * Implements functions related to mime types such as detection and mapping to
  * file extension.
  *
- * Instances of this class are stateles, there only needs to be one global instance
+ * Instances of this class are stateless, there only needs to be one global instance
  * of MimeMagic. Please use MimeMagic::singleton() to get that instance.
  */
 class MimeMagic {
@@ -215,8 +215,6 @@ class MimeMagic {
                                continue;
                        }
 
-                       #print "processing MIME line $s<br>";
-
                        $mime = substr( $s, 0, $i );
                        $ext = trim( substr($s, $i+1 ) );