From 3ebbf18ecd027fbeaa53166af4f6ceb6ca3e86a3 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 25 Jan 2017 17:41:41 +0100 Subject: Remove function tempnam again --- it.class | 12 ------------ 1 file changed, 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); -} - } -- cgit v1.2.3