Changeset 23085 for extensions/community/add_photos.php
- Timestamp:
- Jun 7, 2013, 2:41:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/community/add_photos.php
r23037 r23085 32 32 define('PHOTOS_ADD_BASE_URL', make_index_url(array('section' => 'add_photos'))); 33 33 34 $user_permissions = community_get_user_permissions($user['id']);35 36 if ( count($user_permissions['upload_categories']) == 0 and !$user_permissions ['create_whole_gallery'])34 $user_permissions = $user['community_permissions']; 35 36 if (!$user_permissions['community_enabled']) 37 37 { 38 38 redirect(make_index_url()); … … 393 393 if ($remaining_storage <= 0) 394 394 { 395 echo 'limit storage reached<br>';396 395 // limit reached 397 396 $setup_errors[] = sprintf( … … 426 425 if ($remaining_nb_photos <= 0) 427 426 { 428 echo 'limit nb_photos reached<br>';429 427 // limit reached 430 428 $setup_errors[] = sprintf(
Note: See TracChangeset
for help on using the changeset viewer.