Ignore:
Timestamp:
Jul 13, 2011, 3:30:06 PM (13 years ago)
Author:
plg
Message:

feature 2245: when a new private album is added, the creator and admins
automatically get permission on it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/admin/site_update.php

    r11040 r11727  
    315315    }
    316316
     317    // add default permissions to categories
     318    $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
    317325    $counts['new_categories'] = count($inserts);
    318326  }
Note: See TracChangeset for help on using the changeset viewer.