aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sessions.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-01 07:47:49 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-01 07:47:49 +0000
commit84553b0fd0d507d3e8a963deb5cba12d0d5f0b84 (patch)
treee359ea8bd9cc79d3249996d510657d9e752693f6 /engine/lib/sessions.php
parente51f9e8699a0443a0942f0a84c30ba3a4df372c1 (diff)
downloadelgg-84553b0fd0d507d3e8a963deb5cba12d0d5f0b84.tar.gz
elgg-84553b0fd0d507d3e8a963deb5cba12d0d5f0b84.tar.bz2
Moved deprecated files from sessions.php - xml.php into deprecation files for 1.7 and 1.8
git-svn-id: http://code.elgg.org/elgg/trunk@7981 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/sessions.php')
-rw-r--r--engine/lib/sessions.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php
index eb47f4eb5..46912a152 100644
--- a/engine/lib/sessions.php
+++ b/engine/lib/sessions.php
@@ -148,28 +148,6 @@ function elgg_authenticate($username, $password) {
}
/**
- * Perform standard authentication with a given username and password.
- * Returns an ElggUser object for use with login.
- *
- * @see login
- *
- * @param string $username The username, optionally (for standard logins)
- * @param string $password The password, optionally (for standard logins)
- *
- * @return ElggUser|false The authenticated user object, or false on failure.
- */
-function authenticate($username, $password) {
- elgg_deprecated_notice('authenticate() has been deprecated for elgg_authenticate()', 1.8);
- $pam = new ElggPAM('user');
- $credentials = array('username' => $username, 'password' => $password);
- $result = $pam->authenticate($credentials);
- if ($result) {
- return get_user_by_username($username);
- }
- return false;
-}
-
-/**
* Hook into the PAM system which accepts a username and password and attempts to authenticate
* it against a known user.
*