root/modules/branches/2.3/blacklist/install.php

Revision 2380, 494 bytes (checked in by qldrob, 6 years ago)

Add ullbergm's coolo blacklist module - Thanks! Ref #973

  • Property svn:mime-type set to text/plain
  • Property svn:eol-style set to native
Line 
1 <?php
2 $fcc = new featurecode('blacklist', 'blacklist_add');
3 $fcc->setDescription('Blacklist a number');
4 $fcc->setDefault('*30');
5 $fcc->update();
6 unset($fcc);
7
8 $fcc = new featurecode('blacklist', 'blacklist_remove');
9 $fcc->setDescription('Remove a number from the blacklist');
10 $fcc->setDefault('*31');
11 $fcc->update();
12 unset($fcc);
13
14 $fcc = new featurecode('blacklist', 'blacklist_last');
15 $fcc->setDescription('Blacklist the last caller');
16 $fcc->setDefault('*32');
17 $fcc->update();
18 unset($fcc);
19 ?>
Note: See TracBrowser for help on using the browser.