Changeset 521 for trunk/admin/include/functions.php
- Timestamp:
- Sep 12, 2004, 10:33:56 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r498 r521 194 194 { 195 195 global $counts; 196 197 if (count($ids) == 0) 198 { 199 return; 200 } 196 201 197 202 // destruction of all the related elements … … 207 212 array_push($element_ids, $row['id']); 208 213 } 209 if (count($element_ids) > 0) 210 { 211 delete_elements($element_ids); 212 } 214 delete_elements($element_ids); 213 215 214 216 // destruction of the links between images and this category … … 269 271 { 270 272 global $counts; 273 274 if (count($ids) == 0) 275 { 276 return; 277 } 271 278 272 279 // destruction of the comments on the image
Note: See TracChangeset
for help on using the changeset viewer.