Make WordPress Core

Ticket #19486: remove_set_time_limit.patch

File remove_set_time_limit.patch, 556 bytes (added by dllh, 13 years ago)

Removes unneeded calls to set_time_limit()

  • wp-admin/network/sites.php

     
    9696                                                        case 'spam':
    9797                                                                $blogfunction = 'all_spam';
    9898                                                                update_blog_status( $val, 'spam', '1' );
    99                                                                 set_time_limit( 60 );
    10099                                                        break;
    101100
    102101                                                        case 'notspam':
    103102                                                                $blogfunction = 'all_notspam';
    104103                                                                update_blog_status( $val, 'spam', '0' );
    105                                                                 set_time_limit( 60 );
    106104                                                        break;
    107105                                                }
    108106                                        } else {