forked from silecs/mantis-plugin-ticketcreation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTicketCreation.php
44 lines (39 loc) · 917 Bytes
/
TicketCreation.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
*/
/**
* @author François Gannaz <[email protected]>
*/
class TicketCreationPlugin extends MantisPlugin
{
/**
* @var string
*/
public $nonce;
/**
* Init the plugin attributes.
*/
function register()
{
$this->name = 'Ticket Creation';
$this->description = "Plugin that creates a 'bug report page' that can be pre-filled by URL parameters.";
$this->page = 'bugreport';
$this->version = '2.0';
$this->requires = [
'MantisCore' => '2.0.0',
];
$this->author = 'François Gannaz / Silecs';
$this->contact = '[email protected]';
$this->url = '';
}
/**
* Declare hooks on Mantis events.
*
* @return array
*/
public function hooks()
{
return [];
}
}