Changeset 12012
- Timestamp:
- Aug 30, 2011, 11:25:56 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/site_update.php
r11728 r12012 313 313 ); 314 314 mass_inserts(CATEGORIES_TABLE, $dbfields, $inserts); 315 }316 317 // add default permissions to categories318 $category_ids = array();319 foreach ($inserts as $category)320 {321 $category_ids[] = $category['id'];322 }323 add_permission_on_category($category_ids, get_admins());324 315 316 // add default permissions to categories 317 $category_ids = array(); 318 foreach ($inserts as $category) 319 { 320 $category_ids[] = $category['id']; 321 } 322 add_permission_on_category($category_ids, get_admins()); 323 } 324 325 325 $counts['new_categories'] = count($inserts); 326 326 }
Note: See TracChangeset
for help on using the changeset viewer.