]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/unsupportedmediaexception.php
??? Not callable?
[quix0rs-gnu-social.git] / lib / unsupportedmediaexception.php
index df6916a76c1ea7c575ebaf49c233f48e19616ac7..7306c75f571e8866cd371ef7ab35c28fa83e8aca 100644 (file)
@@ -31,9 +31,9 @@ if (!defined('GNUSOCIAL')) { exit(1); }
 
 class UnsupportedMediaException extends ServerException
 {
-    public function __construct($msg, $path)
+    public function __construct($msg, $path=null)
     {
-        common_debug(sprintf('UnsupportedMediaException "%1$s" for file "%2$s"', $msg, $path));
+        //common_debug(sprintf('UnsupportedMediaException "%1$s". File path (if given): "%2$s"', $msg, $path));
         parent::__construct($msg);
     }
 }