summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2016-03-09 13:22:20 +0100
committerJaime Perez Crespo <jaime.perez@uninett.no>2016-03-09 13:22:20 +0100
commitde23b00af014c6c1988be1cf149b4a9d87336e66 (patch)
tree7b603d15a2051d940859f04247376a46882802e6
parent54be58384d19b8f247878092d425c39f30422bae (diff)
downloadsimplesamlphp-de23b00af014c6c1988be1cf149b4a9d87336e66.zip
simplesamlphp-de23b00af014c6c1988be1cf149b4a9d87336e66.tar.gz
simplesamlphp-de23b00af014c6c1988be1cf149b4a9d87336e66.tar.bz2
Update documentation to point to the new SimpleSAML\Logger and SimpleSAML\Module classes.
-rw-r--r--docs/simplesamlphp-advancedfeatures.txt4
-rw-r--r--docs/simplesamlphp-customauth.txt4
-rw-r--r--docs/simplesamlphp-modules.txt2
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/simplesamlphp-advancedfeatures.txt b/docs/simplesamlphp-advancedfeatures.txt
index e9ecdb5..afeef27 100644
--- a/docs/simplesamlphp-advancedfeatures.txt
+++ b/docs/simplesamlphp-advancedfeatures.txt
@@ -124,13 +124,13 @@ Example code for the function with GeoIP country check:
}
if (!function_exists('geoip_country_code_by_name')) {
- SimpleSAML_Logger::warning('geoip php module required.');
+ SimpleSAML\Logger::warning('geoip php module required.');
return TRUE;
}
$stored_remote_addr = $session->getData($data_type, $data_key);
if ($stored_remote_addr === NULL) {
- SimpleSAML_Logger::warning('Stored data not found.');
+ SimpleSAML\Logger::warning('Stored data not found.');
return FALSE;
}
diff --git a/docs/simplesamlphp-customauth.txt b/docs/simplesamlphp-customauth.txt
index fdab196..8f7c30f 100644
--- a/docs/simplesamlphp-customauth.txt
+++ b/docs/simplesamlphp-customauth.txt
@@ -315,14 +315,14 @@ The class follows:
$row = $st->fetch(PDO::FETCH_ASSOC);
if (!$row) {
/* User not found. */
- SimpleSAML_Logger::warning('MyAuth: Could not find user ' . var_export($username, TRUE) . '.');
+ SimpleSAML\Logger::warning('MyAuth: Could not find user ' . var_export($username, TRUE) . '.');
throw new SimpleSAML_Error_Error('WRONGUSERPASS');
}
/* Check the password. */
if (!$this->checkPassword($row['password_hash'], $password)) {
/* Invalid password. */
- SimpleSAML_Logger::warning('MyAuth: Wrong password for user ' . var_export($username, TRUE) . '.');
+ SimpleSAML\Logger::warning('MyAuth: Wrong password for user ' . var_export($username, TRUE) . '.');
throw new SimpleSAML_Error_Error('WRONGUSERPASS');
}
diff --git a/docs/simplesamlphp-modules.txt b/docs/simplesamlphp-modules.txt
index b837351..9ab6625 100644
--- a/docs/simplesamlphp-modules.txt
+++ b/docs/simplesamlphp-modules.txt
@@ -110,7 +110,7 @@ www
`https://.../simplesamlphp/module.php/example/login.php`.
: To retrieve this URL, the
- `SimpleSAML_Module::getModuleURL($resource)`-function can be used.
+ `SimpleSAML\Module::getModuleURL($resource)`-function can be used.
This function takes in a resource on the form `<module>/<file>`.
This function will then return a URL to the given file in the
`www`-directory of `module`.