Show
Ignore:
Timestamp:
07/28/07 03:08:18 (6 years ago)
Author:
p_lindheimer
Message:

Merged revisions 4587 via svnmerge from
https://amportal.svn.sourceforge.net/svnroot/amportal/modules/branches/2.3

........

r4587 | p_lindheimer | 2007-07-28 00:04:57 -0700 (Sat, 28 Jul 2007) | 1 line


#1770 add uninstall to pinset

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.2

    • Property svnmerge-integrated changed from /modules/branches/2.1:1-2166,2289,2414,2419,2424,2430,2449,2458,2462,2476 /modules/branches/2.3:1-3256,4102,4227,4232,4251,4312,4390,4570,4574,4579,4583 to /modules/branches/2.1:1-2166,2289,2414,2419,2424,2430,2449,2458,2462,2476 /modules/branches/2.3:1-3256,4102,4227,4232,4251,4312,4390,4570,4574,4579,4583,4587
  • modules/branches/2.2/pinsets/module.xml

    r3509 r4588  
    22  <rawname>pinsets</rawname> 
    33  <name>PIN Sets</name> 
    4   <version>1.1</version> 
     4  <version>1.1.1</version> 
    55  <type>setup</type> 
    66  <category>Internal Options &amp; Configuration</category> 
    77  <description>Allow creation of lists of PINs (numbers for passwords) that can be used by other modules (eg, trunks).</description> 
    88  <changelog> 
     9    *1.1.1* #1770 added proper uninstall 
    910    *1.1* Add naftali5's fix for pinsets being lost when routes are moved. 
    1011    *1.0.12* Add he_IL translation 
  • modules/branches/2.2/pinsets/uninstall.php

    r1760 r4588  
    11<?php 
    22 
    3 sql('DROP TABLE pinsets'); 
     3global $db; 
     4global $amp_conf; 
     5 
     6$pinsets = pinsets_list(); 
     7foreach ($pinsets as $item) { 
     8  echo "removing ".$item['description'].".."; 
     9  pinsets_del($item['pinsets_id']); 
     10  echo "done<br>\n"; 
     11
     12 
     13echo "dropping table pinsets.."; 
     14sql('DROP TABLE IF EXISTS `pinsets`'); 
     15echo "done<br>\n"; 
     16 
    417 
    518?>