diff --git a/modules/aioseop_bad_robots.php b/modules/aioseop_bad_robots.php index 1c8553bd9..4a6a72719 100644 --- a/modules/aioseop_bad_robots.php +++ b/modules/aioseop_bad_robots.php @@ -209,28 +209,6 @@ function filter_bad_botlist( $botlist ) { return $botlist; } - - /** - * Updates blocked message. - * - * @param string $msg - */ - function blocked_message( $msg ) { - if ( empty( $this->options["{$this->prefix}blocked_log"] ) ) { - $this->options["{$this->prefix}blocked_log"] = ''; - } - $this->options["{$this->prefix}blocked_log"] = date( 'Y-m-d H:i:s' ) . " {$msg}\n" . $this->options["{$this->prefix}blocked_log"]; - if ( $this->strlen( $this->options["{$this->prefix}blocked_log"] ) > 4096 ) { - $end = $this->strrpos( $this->options["{$this->prefix}blocked_log"], "\n" ); - if ( false === $end ) { - $end = 4096; - } - $this->options["{$this->prefix}blocked_log"] = $this->substr( $this->options["{$this->prefix}blocked_log"], 0, $end ); - } - $this->update_class_option( $this->options ); - } - - /** * Filter display options. *