Skip to content

Commit 83d2d4b

Browse files
author
Kyle Mahan
committed
Update example.php with new API
1 parent 39a691a commit 83d2d4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
include('src/IndieWeb/MentionClient.php');
44

55
$url = 'https://github.com/aaronpk/mention-client';
6-
$client = new IndieWeb\MentionClient($url);
7-
$client->debug = true;
8-
$sent = $client->sendSupportedMentions();
6+
$client = new IndieWeb\MentionClient();
7+
$client->enableDebug();
8+
$sent = $client->sendMentions($url);
99

1010
echo "Sent $sent mentions\n";

0 commit comments

Comments
 (0)