Revision: 3005
          https://sourceforge.net/p/mrbs/code/3005/
Author:   cimorrison
Date:     2015-02-25 16:33:34 +0000 (Wed, 25 Feb 2015)
Log Message:
-----------
Removed redundant code now that the minimum PHP version is 5.3.0

Modified Paths:
--------------
    mrbs/trunk/web/language.inc

Modified: mrbs/trunk/web/language.inc
===================================================================
--- mrbs/trunk/web/language.inc 2015-02-25 16:21:23 UTC (rev 3004)
+++ mrbs/trunk/web/language.inc 2015-02-25 16:33:34 UTC (rev 3005)
@@ -870,12 +870,6 @@
 {
   global $default_language_tokens, $disable_automatic_language_changing;
   
-  // Just in case they're running PHP4, degrade gracefully
-  if (!function_exists('scandir'))
-  {
-    return NULL;
-  }
-  
   if (!file_exists($dir))
   {
     trigger_error("MRBS: directory $dir does not exist", E_USER_NOTICE);
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to