summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2018-06-19 23:11:45 +0200
committerUrban Müller2018-06-19 23:11:45 +0200
commitc8319c784267f81e2884a076365b8ca36f4ce0b2 (patch)
treee5158a849b1a218f9f1857d4e95b7b5bc075f9b2 /it.class
parent4cd6a23b8c2a5f20f51d2a53b65bd7586e367a3c (diff)
downloaditools-c8319c784267f81e2884a076365b8ca36f4ce0b2.tar.gz
itools-c8319c784267f81e2884a076365b8ca36f4ce0b2.tar.bz2
itools-c8319c784267f81e2884a076365b8ca36f4ce0b2.zip
remove unused $context in it::fopen (null not allowed), add and fix tests
Diffstat (limited to 'it.class')
-rw-r--r--it.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it.class b/it.class
index a129c09..8b443dc 100644
--- a/it.class
+++ b/it.class
@@ -1180,9 +1180,9 @@ static function file_put_contents($filename, $data, $flags = 0, $resource = null
return file_put_contents(it::safe_filename($filename), $data, $flags, $resource);
}
-static function fopen($filename, $mode, $use_include_path = false, $context = null)
+static function fopen($filename, $mode, $use_include_path = false)
{
- return fopen(it::safe_filename($filename), $mode, $use_include_path, $context);
+ return fopen(it::safe_filename($filename), $mode, $use_include_path);
}
static function file($filename, $flags = 0, $context = null)