Changeset 498 for trunk/admin/include/functions.php
- Timestamp:
- Aug 29, 2004, 1:21:21 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r496 r498 193 193 function delete_categories($ids) 194 194 { 195 global $counts; 196 195 197 // destruction of all the related elements 196 198 $query = ' … … 252 254 ;'; 253 255 mysql_query($query); 254 } 255 256 257 if (isset($counts['del_categories'])) 258 { 259 $counts['del_categories']+= count($ids); 260 } 261 } 256 262 257 263 // The function delete_elements deletes the elements identified by the … … 262 268 function delete_elements($ids) 263 269 { 264 global $count _deleted;270 global $counts; 265 271 266 272 // destruction of the comments on the image … … 296 302 mysql_query($query); 297 303 298 $count_deleted+= count($ids); 304 if (isset($counts['del_elements'])) 305 { 306 $counts['del_elements']+= count($ids); 307 } 299 308 } 300 309
Note: See TracChangeset
for help on using the changeset viewer.