]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fixup exception constructor for php 5.2
authorEvan Prodromou <evan@status.net>
Mon, 20 Dec 2010 23:28:21 +0000 (18:28 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 20 Dec 2010 23:28:42 +0000 (18:28 -0500)
lib/oembedhelper.php

index 84cf1058676a97e9ed6a523b484a1b2ddeb6ec5c..4b3559ffd8b9dbc7940c2d25d372c8b73bb0c266 100644 (file)
@@ -299,6 +299,10 @@ class oEmbedHelper
 
 class oEmbedHelper_Exception extends Exception
 {
+    public function __construct($message = "", $code = 0, $previous = null)
+    {
+        parent::__construct($message, $code, $previous);
+    }
 }
 
 class oEmbedHelper_BadHtmlException extends oEmbedHelper_Exception