summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorChristian Schneider2017-01-25 17:41:41 +0100
committerChristian Schneider2017-01-25 17:41:41 +0100
commit3ebbf18ecd027fbeaa53166af4f6ceb6ca3e86a3 (patch)
treebfc138d11bd3212629ae3b3e7824181d22b16a3b /it.class
parent9343a50dad78bc43eef2268623e5daf97cb255fb (diff)
downloaditools-3ebbf18ecd027fbeaa53166af4f6ceb6ca3e86a3.tar.gz
itools-3ebbf18ecd027fbeaa53166af4f6ceb6ca3e86a3.tar.bz2
itools-3ebbf18ecd027fbeaa53166af4f6ceb6ca3e86a3.zip
Remove function tempnam again
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 a9b6662..3846fe5 100644
--- a/it.class
+++ b/it.class
@@ -1082,16 +1082,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);
-}
-
}