summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/Util.php
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-02-14 01:00:58 +0000
committertailor <cygnus@janrain.com>2006-02-14 01:00:58 +0000
commit480ae2abfc23162453d7d675f782858c14fa46ab (patch)
treea7a02f2c34087605536eb74f4f87de9768e237db /Auth/OpenID/Util.php
parent080b9a9473492e641dbce7efac47f67e819d2ac1 (diff)
downloadphp-openid-480ae2abfc23162453d7d675f782858c14fa46ab.zip
php-openid-480ae2abfc23162453d7d675f782858c14fa46ab.tar.gz
php-openid-480ae2abfc23162453d7d675f782858c14fa46ab.tar.bz2
[project @ Moved ensureDir from Util to OpenID]
Diffstat (limited to 'Auth/OpenID/Util.php')
-rw-r--r--Auth/OpenID/Util.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/Auth/OpenID/Util.php b/Auth/OpenID/Util.php
index 8bed09b..6894ca1 100644
--- a/Auth/OpenID/Util.php
+++ b/Auth/OpenID/Util.php
@@ -21,26 +21,6 @@ $_Auth_OpenID_digits = "0123456789";
$_Auth_OpenID_punct = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";
/**
- * Create dir_name as a directory if it does not exist. If it exists,
- * make sure that it is, in fact, a directory. Returns true if the
- * operation succeeded; false if not.
- *
- * @access private
- */
-function Auth_OpenID_ensureDir($dir_name)
-{
- if (is_dir($dir_name) || @mkdir($dir_name)) {
- return true;
- } else {
- if (Auth_OpenID_ensureDir(dirname($dir_name))) {
- return is_dir($dir_name) || @mkdir($dir_name);
- } else {
- return false;
- }
- }
-}
-
-/**
* Convenience function for getting array values.
*
* @access private