Changeset 283
- Timestamp:
- Jan 17, 2004, 7:13:12 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_3/admin/configuration.php
r263 r283 61 61 } 62 62 // deletion of site as asked 63 $site_deleted = false; 63 64 $query = 'SELECT id'; 64 65 $query.= ' FROM '.PREFIX_TABLE.'sites'; … … 71 72 { 72 73 delete_site( $row['id'] ); 73 // if any picture of this site were linked to another categories, we 74 // have to update the informations of those categories. To make it 75 // simple, we just update all the categories 76 update_category( 'all' ); 74 $site_deleted = true; 77 75 } 76 } 77 // if any picture of this site were linked to another categories, we have 78 // to update the informations of those categories. To make it simple, we 79 // just update all the categories 80 if ( $site_deleted ) 81 { 82 update_category( 'all' ); 83 synchronize_all_users(); 78 84 } 79 85 // thumbnail prefix must not contain accentuated characters
Note: See TracChangeset
for help on using the changeset viewer.