diff --git a/docs/simplesamlphp-advancedfeatures.txt b/docs/simplesamlphp-advancedfeatures.txt index e9ecdb5e18529557869b744c44f17d8b0dfb3101..afeef27f4c6dffbb8fd4e1a677be3f69ed0c2c13 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 fdab196d05e5a65879d8b244176fed280a581173..8f7c30f9fd5e3826307cb70d758ac80933438377 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 b8373510a9092c99ea02e25d843ee5ab84ea35d1..9ab66256aec8dc4aaf95f00dbbe6aee6ce0efa59 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`.