From 2a2221af310bd0b6d5c9509b0d640259a7f164de Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 7 Mar 2017 15:01:06 +0900 Subject: [PATCH] Remove old not used max_filesize var for log split --- www/libs/Class.Basic.inc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/www/libs/Class.Basic.inc b/www/libs/Class.Basic.inc index aa76f770..ebe6c747 100644 --- a/www/libs/Class.Basic.inc +++ b/www/libs/Class.Basic.inc @@ -215,12 +215,6 @@ if (isset($GLOBALS['PRINT_ALL'])) $this->print_output_all = $GLOBALS['PRINT_ALL']; - if (isset($GLOBALS['MAX_FILESIZE'])) - $this->max_filesize = $GLOBALS['MAX_FILESIZE']; - - if (!preg_match("/\d/", $this->max_filesize)) - $this->max_filesize = 0; - // set the regex for checking emails $this->email_regex = "^[A-Za-z0-9!#$%&'*+-\/=?^_`{|}~][A-Za-z0-9!#$%:\(\)&'*+-\/=?^_`{|}~\.]{0,63}@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]{1,})*\.([a-zA-Z]{2,6}){1}$"; // this is for error check parts in where the email regex failed