Changeset 19732 for extensions/Piwecard/maintain.inc.php
- Timestamp:
- Jan 2, 2013, 11:48:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Piwecard/maintain.inc.php
r8771 r19732 8 8 9 9 10 function plugin_install() 11 { 10 function plugin_install() { 12 11 global $prefixeTable, $conf; 13 12 14 13 $query = 'SHOW TABLES LIKE "' . $prefixeTable . 'ecard"'; 15 14 $result = pwg_query($query); 16 if (!mysql_fetch_row($result)) 17 { 15 if (!mysql_fetch_row($result)) { 18 16 19 17 // ecard description … … 40 38 41 39 pwg_query($q); 42 43 44 45 40 } 46 47 41 } 48 42 49 function plugin_activate() 50 { 43 function plugin_activate() { 51 44 52 45 } 53 46 54 function plugin_uninstall() 55 { 47 function plugin_uninstall() { 56 48 global $prefixeTable; 57 49 … … 64 56 ;'; 65 57 pwg_query($q); 66 67 58 } 68 69 70 59 ?>
Note: See TracChangeset
for help on using the changeset viewer.