Changeset:
        dc7b7af18e03
        
https://sourceforge.net/p/mrbs/hg-code/ci/dc7b7af18e0336b11d9fac3b422b98d53bda1ea6
Author:
        Campbell Morrison <[email protected]>
Date:
        Tue Sep 13 09:39:43 2016 +0100
Log message:

Removed redundant code now that we only support PHP 5.3.0 and greater

diffstat:

 web/auth/auth_ext.inc  |   4 ----
 web/escapeshellarg.inc |  14 --------------
 2 files changed, 0 insertions(+), 18 deletions(-)

diffs (32 lines):

diff -r a0ba6af5a90a -r dc7b7af18e03 web/auth/auth_ext.inc
--- a/web/auth/auth_ext.inc     Sat Aug 27 15:30:58 2016 +0100
+++ b/web/auth/auth_ext.inc     Tue Sep 13 09:39:43 2016 +0100
@@ -44,10 +44,6 @@
   return false;
 }
 
-if (version_check("4.0.3") == false)
-{
-  require_once "escapeshellarg.inc";
-}
 
 /* authValidateUser($user, $pass)
  * 
diff -r a0ba6af5a90a -r dc7b7af18e03 web/escapeshellarg.inc
--- a/web/escapeshellarg.inc    Sat Aug 27 15:30:58 2016 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?php
-
-/* $Id$
- *
- * Included if your PHP version is less than 4.0.3 and therefore this
- * function doesn't exist.
- *
- */
-
-function escapeshellarg($x)
-{
-  return "'".preg_replace("/'/", "\\'", $x)."'";
-} 
-

------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to