From 1f419d5a7bab3d075c6df9c4bd1a2bb5e7a13e49 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 1 Oct 2019 13:28:16 -0400 Subject: [PATCH] Update index Remove the cron_add_minute function --- index.php | 22 +++++++++++----------- readme.txt | 3 +++ 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/index.php b/index.php index caa49e9..c43aa92 100755 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Bandwidth * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Website Bandwidth Display and Reporting - * Version: 4.1.5 + * Version: 4.1.6 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmServerStats * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 4.1.5 + * @version 4.1.6 */ // Check that we're being called by WordPress. @@ -28,7 +28,7 @@ if (!defined('ABSPATH')) { die(); } -define('GLM_SERVERSTATS_PLUGIN_VERSION', '4.1.5'); +define('GLM_SERVERSTATS_PLUGIN_VERSION', '4.1.6'); define('GLM_SERVERSTATS_PLUGIN_DB_VERSION', '0.0.1'); @@ -376,14 +376,14 @@ add_action('glm_serverstats_notify_cron', 'doGlmServerUsageCron'); * Normally this would use the "hourly" schedule. This may be commented out if not in use. * To use this schedule for testing, see the commented out code in the next block of code. */ -function cron_add_minute( $schedules ) { - // Adds once weekly to the existing schedules. - $schedules['minute'] = array( - 'interval' => 60, - 'display' => __( 'Every Minute' ) - ); - return $schedules; -} +// function cron_add_minute( $schedules ) { +// // Adds once weekly to the existing schedules. +// $schedules['minute'] = array( +// 'interval' => 60, +// 'display' => __( 'Every Minute' ) +// ); +// return $schedules; +// } /* diff --git a/readme.txt b/readme.txt index efa95c2..879a0cf 100755 --- a/readme.txt +++ b/readme.txt @@ -29,6 +29,9 @@ e.g. 1. Activate the plugin through the 'Plugins' menu in WordPress == Changelog == += 4.1.5 = +* Comment out add cron minute function. + = 4.1.5 = * Delete any old notices not found on main relay plugin when doing updates to cache. -- 2.17.1