summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2017-01-25 16:07:50 +0100
committerUrban Müller2017-01-25 16:08:40 +0100
commitee8607940a1af96f2366ad4ea75db5b7c2c15c8f (patch)
tree2ad7aaa27266b0700ae8e2e4bbc29fd82c0e689e /it.class
parentf59a46a6dfe0194ba43092304029b2b843ed54bc (diff)
downloaditools-ee8607940a1af96f2366ad4ea75db5b7c2c15c8f.tar.gz
itools-ee8607940a1af96f2366ad4ea75db5b7c2c15c8f.tar.bz2
itools-ee8607940a1af96f2366ad4ea75db5b7c2c15c8f.zip
standard php compatibility
Diffstat (limited to 'it.class')
-rw-r--r--it.class12
1 files changed, 0 insertions, 12 deletions
diff --git a/it.class b/it.class
index 1731330..4dfb889 100644
--- a/it.class
+++ b/it.class
@@ -1086,16 +1086,4 @@ static function mod($a, $n)
return (($a % $n) + $n) % $n;
}
-/**
- * Same as php tempnam() but $dir defaults to tmp/ in service home
- */
-static function tempnam($dir, $prefix)
-{
- $dir = $dir ?: $GLOBALS['ULTRAHOME'] . "/tmp";
- if (!is_writable($dir))
- it::error("tempnam: '$dir' not writable");
-
- return tempnam($dir, $prefix);
-}
-
}