projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the new check_php_version function everywhere
[squirrelmail.git]
/
plugins
/
delete_move_next
/
setup.php
diff --git
a/plugins/delete_move_next/setup.php
b/plugins/delete_move_next/setup.php
index 59ecf4e41a70249d5e5a0861af9c57dc9b19aa67..96dbd142f581aba17dd73d8e891c0dfda05cc86b 100644
(file)
--- 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;
global $PHP_SELF;
- if (
(float)substr(PHP_VERSION,0,3) < 4.1
) {
+ if (
!check_php_version(4,1)
) {
global $_GET, $_POST;
}
global $_GET, $_POST;
}
@@
-277,7
+277,7
@@
function delete_move_next_moveRightMainForm() {
function delete_move_next_delete() {
global $imapConnection, $auto_expunge;
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;
}
global $_GET;
}
@@
-294,7
+294,7
@@
function delete_move_next_delete() {
function delete_move_next_move() {
global $imapConnection, $mailbox;
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;
}
global $_POST;
}
@@
-349,7
+349,7
@@
function delete_move_next_display_save() {
global $username,$data_dir;
global $username,$data_dir;
- if (
(float)substr(PHP_VERSION,0,3) < 4.1
) {
+ if (
!check_php_version(4,1)
) {
global $_POST;
}
global $_POST;
}