Skip to content

Commit 80d7efc

Browse files
committed
formatting update
1 parent bbe637b commit 80d7efc

1 file changed

Lines changed: 56 additions & 56 deletions

File tree

src/Plugin.php

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -11,65 +11,65 @@
1111
*/
1212
class Plugin
1313
{
14-
public static $name = 'Novnc Plugin';
15-
public static $description = 'Allows handling of NoVNC HTML5 VNC Connections';
16-
public static $help = '';
17-
public static $type = 'plugin';
14+
public static $name = 'Novnc Plugin';
15+
public static $description = 'Allows handling of NoVNC HTML5 VNC Connections';
16+
public static $help = '';
17+
public static $type = 'plugin';
1818

19-
/**
20-
* Plugin constructor.
21-
*/
22-
public function __construct()
23-
{
24-
}
19+
/**
20+
* Plugin constructor.
21+
*/
22+
public function __construct()
23+
{
24+
}
2525

26-
/**
27-
* @return array
28-
*/
29-
public static function getHooks()
30-
{
31-
return [
32-
//'system.settings' => [__CLASS__, 'getSettings'],
33-
//'ui.menu' => [__CLASS__, 'getMenu'],
34-
];
35-
}
26+
/**
27+
* @return array
28+
*/
29+
public static function getHooks()
30+
{
31+
return [
32+
//'system.settings' => [__CLASS__, 'getSettings'],
33+
//'ui.menu' => [__CLASS__, 'getMenu'],
34+
];
35+
}
3636

37-
/**
38-
* @param \Symfony\Component\EventDispatcher\GenericEvent $event
39-
*/
40-
public static function getMenu(GenericEvent $event)
41-
{
42-
$menu = $event->getSubject();
43-
if ($GLOBALS['tf']->ima == 'admin') {
44-
function_requirements('has_acl');
45-
if (has_acl('client_billing')) {
46-
}
47-
}
48-
}
37+
/**
38+
* @param \Symfony\Component\EventDispatcher\GenericEvent $event
39+
*/
40+
public static function getMenu(GenericEvent $event)
41+
{
42+
$menu = $event->getSubject();
43+
if ($GLOBALS['tf']->ima == 'admin') {
44+
function_requirements('has_acl');
45+
if (has_acl('client_billing')) {
46+
}
47+
}
48+
}
4949

50-
/**
51-
* @param \Symfony\Component\EventDispatcher\GenericEvent $event
52-
*/
53-
public static function getRequirements(GenericEvent $event)
54-
{
55-
/**
56-
* @var \MyAdmin\Plugins\Loader $this->loader
57-
*/
58-
$loader = $event->getSubject();
59-
$loader->add_requirement('class.Novnc', '/../vendor/detain/myadmin-novnc-plugin/src/Novnc.php');
60-
$loader->add_requirement('deactivate_kcare', '/../vendor/detain/myadmin-novnc-plugin/src/abuse.inc.php');
61-
$loader->add_requirement('deactivate_abuse', '/../vendor/detain/myadmin-novnc-plugin/src/abuse.inc.php');
62-
$loader->add_requirement('get_abuse_licenses', '/../vendor/detain/myadmin-novnc-plugin/src/abuse.inc.php');
63-
}
50+
/**
51+
* @param \Symfony\Component\EventDispatcher\GenericEvent $event
52+
*/
53+
public static function getRequirements(GenericEvent $event)
54+
{
55+
/**
56+
* @var \MyAdmin\Plugins\Loader $this->loader
57+
*/
58+
$loader = $event->getSubject();
59+
$loader->add_requirement('class.Novnc', '/../vendor/detain/myadmin-novnc-plugin/src/Novnc.php');
60+
$loader->add_requirement('deactivate_kcare', '/../vendor/detain/myadmin-novnc-plugin/src/abuse.inc.php');
61+
$loader->add_requirement('deactivate_abuse', '/../vendor/detain/myadmin-novnc-plugin/src/abuse.inc.php');
62+
$loader->add_requirement('get_abuse_licenses', '/../vendor/detain/myadmin-novnc-plugin/src/abuse.inc.php');
63+
}
6464

65-
/**
66-
* @param \Symfony\Component\EventDispatcher\GenericEvent $event
67-
*/
68-
public static function getSettings(GenericEvent $event)
69-
{
70-
/**
71-
* @var \MyAdmin\Settings $settings
72-
**/
73-
$settings = $event->getSubject();
74-
}
65+
/**
66+
* @param \Symfony\Component\EventDispatcher\GenericEvent $event
67+
*/
68+
public static function getSettings(GenericEvent $event)
69+
{
70+
/**
71+
* @var \MyAdmin\Settings $settings
72+
**/
73+
$settings = $event->getSubject();
74+
}
7575
}

0 commit comments

Comments
 (0)