diff options
author | Christian Schneider | 2017-01-25 17:41:41 +0100 |
---|---|---|
committer | Christian Schneider | 2017-01-25 17:41:41 +0100 |
commit | 3ebbf18ecd027fbeaa53166af4f6ceb6ca3e86a3 (patch) | |
tree | bfc138d11bd3212629ae3b3e7824181d22b16a3b | |
parent | 9343a50dad78bc43eef2268623e5daf97cb255fb (diff) | |
download | itools-3ebbf18ecd027fbeaa53166af4f6ceb6ca3e86a3.tar.gz itools-3ebbf18ecd027fbeaa53166af4f6ceb6ca3e86a3.tar.bz2 itools-3ebbf18ecd027fbeaa53166af4f6ceb6ca3e86a3.zip |
Remove function tempnam again
-rw-r--r-- | it.class | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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); -} - } |