root/contributed_modules/modules/keylock/install.php

Revision 8393, 0.6 kB (checked in by Maikel, 3 years ago)

Keylock Module

Line 
1 <?php
2 $fcl = new featurecode('keylock', 'keylock_lock');
3 $fcu = new featurecode('keylock', 'keylock_unlock');
4 $fct = new featurecode('keylock', 'keylock_toggle');
5 $fcs = new featurecode('keylock', 'keylock_setpass');
6
7 $fcl->setDescription('KeyLock Lock');
8 $fcu->setDescription('KeyLock Unlock');
9 $fct->setDescription('KeyLock Toggle');
10 $fcs->setDescription('KeyLock Setpass');
11
12 $fcl->setDefault('*57');
13 $fcu->setDefault('*58');
14 $fct->setDefault('*56');
15 $fcs->setDefault('*59');
16
17 $fcl->update();
18 $fcu->update();
19 $fct->update();
20 $fcs->update();
21
22 unset($fcl);
23 unset($fcu);
24 unset($fct);
25 unset($fcs);
26 ?>
Note: See TracBrowser for help on using the browser.