]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/scripts/testfeed.php
Merge remote-tracking branch 'upstream/master' into nightly
[quix0rs-gnu-social.git] / plugins / OStatus / scripts / testfeed.php
old mode 100644 (file)
new mode 100755 (executable)
index 84b470c..da1eee2
@@ -35,7 +35,9 @@ END_OF_HELP;
 
 require_once INSTALLDIR.'/scripts/commandline.inc';
 
-if (empty($args[0]) || !Validate::uri($args[0])) {
+$validate = new Validate();
+
+if (empty($args[0]) || !$validate->uri($args[0])) {
     print "$helptext";
     exit(1);
 }