X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fdelete_move_next%2Fsetup.php;fp=plugins%2Fdelete_move_next%2Fsetup.php;h=96dbd142f581aba17dd73d8e891c0dfda05cc86b;hb=fb69468112601468596fa23e00f247ac622f7770;hp=59ecf4e41a70249d5e5a0861af9c57dc9b19aa67;hpb=9697c5ab0c554015e7ac3e0fe05e52721ec11d6a;p=squirrelmail.git diff --git a/plugins/delete_move_next/setup.php b/plugins/delete_move_next/setup.php index 59ecf4e4..96dbd142 100644 --- a/plugins/delete_move_next/setup.php +++ b/plugins/delete_move_next/setup.php @@ -111,7 +111,7 @@ function delete_move_next_action() { global $PHP_SELF; - if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) { + if ( !check_php_version(4,1) ) { global $_GET, $_POST; } @@ -277,7 +277,7 @@ function delete_move_next_moveRightMainForm() { function delete_move_next_delete() { global $imapConnection, $auto_expunge; - if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) { + if ( !check_php_version(4,1) ) { global $_GET; } @@ -294,7 +294,7 @@ function delete_move_next_delete() { function delete_move_next_move() { global $imapConnection, $mailbox; - if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) { + if ( !check_php_version(4,1) ) { global $_POST; } @@ -349,7 +349,7 @@ function delete_move_next_display_save() { global $username,$data_dir; - if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) { + if ( !check_php_version(4,1) ) { global $_POST; }