root/modules/branches/bootstrap-2.9/donotdisturb/install.php

Revision 9436, 0.7 kB (checked in by mickecarlsson, 3 years ago)

Removed executable flag from various files in donotdisturb

  • Property svn:mime-type set to text/html
  • Property svn:eol-style set to native
Line 
1 <?php
2 //for translation only
3 if (false) {
4 _("Do-Not-Disturb (DND)");
5 _("DND Activate");
6 _("DND Deactivate");
7 _("DND Toggle");
8 }
9
10 // Register FeatureCode - Activate
11 $fcc = new featurecode('donotdisturb', 'dnd_on');
12 $fcc->setDescription('DND Activate');
13 $fcc->setDefault('*78');
14 $fcc->update();
15 unset($fcc);
16
17 // Register FeatureCode - Deactivate
18 $fcc = new featurecode('donotdisturb', 'dnd_off');
19 $fcc->setDescription('DND Deactivate');
20 $fcc->setDefault('*79');
21 $fcc->update();
22 unset($fcc); 
23
24 // Register FeatureCode - Activate
25 $fcc = new featurecode('donotdisturb', 'dnd_toggle');
26 $fcc->setDescription('DND Toggle');
27 $fcc->setDefault('*76');
28 $fcc->update();
29 unset($fcc);
30
31 ?>
Note: See TracBrowser for help on using the browser.