Changeset 10773 for extensions/community
- Timestamp:
- May 5, 2011, 12:01:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/community/maintain.inc.php
r9585 r10773 107 107 { 108 108 global $prefixeTable; 109 110 $are_new_tables_installed = false; 111 112 $query = 'SHOW TABLES;'; 113 $result = pwg_query($query); 114 while ($row = pwg_db_fetch_row($result)) 115 { 116 if ($prefixeTable.'community_permissions' == $row[0]) 117 { 118 $are_new_tables_installed = true; 119 } 120 } 121 122 if (!$are_new_tables_installed) 123 { 124 plugin_install(); 125 } 109 126 110 127 community_get_data_from_core21();
Note: See TracChangeset
for help on using the changeset viewer.