removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / lib / fakezlib.php
diff --git a/mods/wiki/plugins/lib/fakezlib.php b/mods/wiki/plugins/lib/fakezlib.php
deleted file mode 100644 (file)
index bc0feaa..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/*
-   You need to load this, if you want to use db/fast_files with very
-   old PHP versions, such without zlib extension.
-*/
-
-
- #-- fake zlib
- if (!function_exists("gzopen")) {
-
-    function gzopen($fp, $mode) {
-       $mode = preg_replace('/[^carwb+]/', '', $mode);
-       return(fopen($fp, $mode));
-    }
-
-    function gzread($fp, $len) {
-       return(fread($fp, $len));
-    }
-
-    function gzwrite($fp, $string) {
-       return(fwrite($fp, $string));
-    }
-
-    function gzseek($fp, $arg2) {
-       return(fseek($fp, $arg2));
-    }
-
-    function gzclose($fp) {
-       return(fclose($fp));
-    }
-
- }
-
-
-?>
\ No newline at end of file