]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/actions/pushhub.php
Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / plugins / OStatus / actions / pushhub.php
index 5d0b9fbf903f64686388e4eeefc494bdddccc511..d70a0c0c0c28022720064baeb54bb47bb3959a9f 100644 (file)
@@ -200,7 +200,7 @@ class PushHubAction extends Action
         $url = $this->arg($arg);
         $params = array('domain_check' => false, // otherwise breaks my local tests :P
                         'allowed_schemes' => array('http', 'https'));
-        $validate = new Validate;
+        $validate = new Validate();
         if ($validate->uri($url, $params)) {
             return $url;
         } else {