Ignore:
Timestamp:
Jan 9, 2014, 7:55:29 PM (10 years ago)
Author:
mistic100
Message:

update for 2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/oAuth/admin.php

    r21303 r26556  
    66if (!$conf['allow_user_registration'])
    77{
    8   array_push($page['warnings'], l10n('Users are not allowed to register on your gallery. OAuth will not work correctly.'));
     8  $page['warnings'][] = l10n('Users are not allowed to register on your gallery. OAuth will not work correctly.');
    99}
    1010
     
    3131// send page content
    3232$template->assign_var_from_handle('ADMIN_CONTENT', 'oauth_content');
    33 
    34 ?>
Note: See TracChangeset for help on using the changeset viewer.