Changeset 5453 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-plugin-import.php
- Timestamp:
- 05/01/2017 11:00:53 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-plugin-import.php
r5449 r5453 15 15 // To avoid a situation where two imports run concurrently, if one is already scheduled, run it 1hr later (We'll trigger it after the current one finishes). 16 16 $when_to_run = time(); 17 if ( $next_sche uled = Manager::get_scheduled_time( "import_plugin:{$plugin_slug}", 'last' ) ) {18 $when_to_run = $next_sche uled + HOUR_IN_SECONDS;17 if ( $next_scheduled = Manager::get_scheduled_time( "import_plugin:{$plugin_slug}", 'last' ) ) { 18 $when_to_run = $next_scheduled + HOUR_IN_SECONDS; 19 19 } 20 20
Note: See TracChangeset
for help on using the changeset viewer.