소스 검색

! I don't recall even mods using this file (and the core doesn't), so let's get rid of it - if mods did use it, it won't actually be a huge deal to update them anyway.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 10 년 전
부모
커밋
0bfb77fdf6
1개의 변경된 파일0개의 추가작업 그리고 18개의 파일을 삭제
  1. 0 18
      Sources/Subs.php

+ 0 - 18
Sources/Subs.php

@@ -3663,24 +3663,6 @@ function clean_cache($type = '')
 	clearstatcache();
 }
 
-/**
- * Load classes that are both (E_STRICT) PHP 4 and PHP 5 compatible.
- * - removed php4 support
- * - left shell in place for mod compatablily
- *
- * @param string $filename
- * @todo remove this function since we are no longer supporting PHP < 5
- */
-function loadClassFile($filename)
-{
-	global $sourcedir;
-
-	if (!file_exists($sourcedir . '/' . $filename))
-		fatal_lang_error('error_bad_file', 'general', array($sourcedir . '/' . $filename));
-
-	require_once($sourcedir . '/' . $filename);
-}
-
 /**
  * Sets up all of the top menu buttons
  * Saves them in the cache if it is available and on