Skip to content

Commit 4b48c3d

Browse files
committed
uncomment unitywebhook
1 parent d54295d commit 4b48c3d

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

resources/lib/UnityWebhook.php

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
// <?php
1+
<?php
22

3-
// namespace UnityWebPortal\lib;
3+
namespace UnityWebPortal\lib;
44

5-
// class UnityWebhook
6-
// {
7-
// private $template_dir;
8-
// private $override_template_dir;
9-
// private $url;
10-
// private $MSG_LINKREF;
5+
class UnityWebhook
6+
{
7+
private $template_dir;
8+
private $override_template_dir;
9+
private $url;
10+
private $MSG_LINKREF;
1111

12-
// public function __construct(
13-
// $template_dir,
14-
// $override_template_dir,
15-
// $url,
16-
// $msg_linkref
17-
// ) {
18-
// $this->template_dir = $template_dir;
19-
// $this->override_template_dir = $override_template_dir;
20-
// $this->url = $url;
21-
// $this->MSG_LINKREF = $msg_linkref;
22-
// }
12+
public function __construct(
13+
$template_dir,
14+
$override_template_dir,
15+
$url,
16+
$msg_linkref
17+
) {
18+
$this->template_dir = $template_dir;
19+
$this->override_template_dir = $override_template_dir;
20+
$this->url = $url;
21+
$this->MSG_LINKREF = $msg_linkref;
22+
}
2323

2424
// public function htmlToMarkdown($html)
2525
// {
@@ -66,4 +66,4 @@
6666
// curl_close($ch);
6767
// return $result;
6868
// }
69-
// }
69+
}

0 commit comments

Comments
 (0)